Posted By

lfatr on 02/16/10


Tagged

jquery load


Versions (?)

JQUERY .LOAD WITH ARGUMENTS


 / Published in: JavaScript
 

  1. function loadContent(option,option2) {
  2. $("#somediv").load("somefile.php",{o1:option , o2:option2});
  3. }
  4.  
  5. results in something like
  6.  
  7. POST http://www.slippytunes.net/widgetdata.php?o=$option&o2=$option2

Report this snippet  

You need to login to post a comment.