sgoyal
08-21-2013, 07:41 PM
1) Script Title: Javascript, JQuery
2) Describe problem: I have made a webpage with jquery with loading header, sidebars, footer and main content window. my site is working ok but i want when someone click a link or form submit in a content div, then the link would open in the same main content div again. I have the js code for a link in sidebars/header to open the same in content div. but do not have if the link is place inside the same div content. Please share the code in any language (PHP, Js, Jquery,etc.).
My code for opening a link of sidebars/header in content div.
<script type="text/javascript">
$('#flat').click(function(){
$('#step2').load('step3layout.php');
});
</script>
Thanks in advance.
2) Describe problem: I have made a webpage with jquery with loading header, sidebars, footer and main content window. my site is working ok but i want when someone click a link or form submit in a content div, then the link would open in the same main content div again. I have the js code for a link in sidebars/header to open the same in content div. but do not have if the link is place inside the same div content. Please share the code in any language (PHP, Js, Jquery,etc.).
My code for opening a link of sidebars/header in content div.
<script type="text/javascript">
$('#flat').click(function(){
$('#step2').load('step3layout.php');
});
</script>
Thanks in advance.