pass parameters in JQuery popup box - Javascript jQuery Method and Property

Javascript examples for jQuery Method and Property:jQuery Method Example


pass parameters in JQuery popup box

Demo Code

ResultView the demo in separate window

  <script src=""></script> 
function popupfunctioncall(){//www .  j a  v a  2 s. c o m
console.log($('#username').val()+"/"+$('#color_name').val() );// you can user your popup here

   <input type="text" name="username" id="username"> 
   <input type="text" name="color" id="color_name"> 
   <input type="submit" name="cub" value="submit" onclick="popupfunctioncall()"> 

Related Tutorials