I am getting some client-side Javascript stack overflow issues specifically in IE browser,  this is happening inside a third party library that makes some function calls and for some reason they occasionally brake in IE only due to it's low sta...
I just need to allow a user to enter the following characters in the textinput:  [email protected]#$%^*_|  <form action="http://www.cknuckles.com/cgi/echo.cgi" method="get" name="logOn">   User Name:<br />   <input ty...
I'm using the Quicksand jQuery plugin. It works fine, but now I want to limit the initial items, for example only show 20 or 30 items. How can I do this?  My current code:  Shadowbox.init({     skipSetup: true });  $(document).ready(function () {...
<script> $(document).click(function() {      window.open("http://google.com", "_blank"); }); </script>   With above code, when I click anywhere, the tab will be opened. However, when I click more, the new tab will be opene...
I am using the ws module and I'd like to limit the amount of data being sent by the client over websocket to 1Mb.  This will prevent a malicious user from sending huge amounts of data (in terms of GB) causing the server to run out of memory, whic...
I use 2 methods to check that the user is not entering too many characters in a  textarea:  1) (passive) PHP:  $textarea = $_POST['textarea']; if (strlen($textarea)>300){$verify="bad";}   2) (active-whyle typing) Javascript:  funct...
Hay, i have some floats like these  4.3455 2.768 3.67   and i want to display them like this  4.34 2.76 3.67   I don't want to round the number up or down, just limit the amount of numbers shown after the decimal place to 2....
I've a div with text inside that is displayed using PHP & MySQL, the structure is like this:  <div class="description">     <p>     Here is a lot of text.     </p> </div>   I want to display a "Read more...
What I need to accomplish is simple - set the limit of the length of paragraph elements to 60 characters. The jQuery script I have written is as follows:  $('p.classname').each(function(){ var paragraph = $(p.description).text(); var strlengt...
This is the part of code:  inprogress = false;  function getid(id) {     return document.getElementById(id);  }  var uploader = new plupload.Uploader({     runtimes : 'gears,html5,flash,silverlight,browserplus',     browse_button : 'link-...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.