Technology TidBits

Answers to various technical questions on php programming, mysql, linux, and many more categories.
25% off Hosting at HostGator.com:
Use Code techbits25



Showing: 1-2 of 2  
Questions:
How can I implement a 'check all' function for a multiple select box?
Here's the jquery code: $('#all_servers').click(function() {  if(this.checked) {    $("#serverlist").each(function(){     $("#serverlist option").prop("selected",true); });  }  else {    $("#serverlist").each(function(){     $("#serverlist option").prop("selected",false); });  }}); You need...
Not rated 05/21/2012 Comments: 0
How can I post all variables in my form using ajax?
When you want to post a form using jquery's .load() function, a shortcut to grab all fie $('#report_button').click(function() { var p =...
Not rated 05/21/2012 Comments: 0



Powered by KnowledgebasePublisher 1.1
Host Gator
Content provided by Roberts WebForge, Inc.