hi i have read other threads about jquery and javascript in ez pages. I have already put the jscript files in the folder and now I am adding script to my ez pages but the script seems to be changing due to the html editor. how do i prevent this bc it is not allowing my jquery to run.
I am trying to get the tabs on my EZ pages to load in other EZ pages though jquery .load() function. im doing this because I have manufacturers and then sub categories within that manufacturer.
I am using this code in the top of my ez page and it is not working at all...I know the javascript is working becuase when i do an it works fine however this does not ...
Code:
<script type="text/javascript">
$(document).ready(function() {
//alert("hello");
$('#tab1').click(function(){
$('#loadhere').load("http://mydomain/index.php/?main_page=page&id=2#jump");
});
$('#tab2').click(function(){
$('#loadhere').load("http://mydomain/index.php/?main_page=page&id=3#jump");
});
});
</script>
Bookmarks