vikaspa Posted September 21, 2012 Share Posted September 21, 2012 <html> <head> <title>the title</title> <script type="text/javascript" src="javascript/jquery-1.4.2.js"></script> <script type="text/javascript" language="javascript"> $(document).ready(function() { $("#driver").click(function(event){ $('#stage').load('contactus.php'); }); $("#stage").click(function(event){ $('#stage').load('photogallery.php?cid=36&&subcid=48'); }); }); </script> </head> <body> <p>Click on the button to load result.html file:</p> <div id="stage" style="background-color:blue;"> STAGE </div> <input type="button" id="driver" value="Load Data" /> </body> </html> I tried this ajax the contactus.php is getting loaded however the link with parameters photogallery.php?cid=36&&subcid=48 show blank page please help Quote Link to comment https://forums.phpfreaks.com/topic/268633-ajax-jquery-url-with-link-not-working/ Share on other sites More sharing options...
jazzman1 Posted September 28, 2012 Share Posted September 28, 2012 Why, do you have a double ampersand in your sting? photogallery.php?cid=36&&subcid=48 Quote Link to comment https://forums.phpfreaks.com/topic/268633-ajax-jquery-url-with-link-not-working/#findComment-1381456 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.