i have the following issue.
i am trying to include an html file(my dropdown menu) into a div in an html file.
cannot use iframe cause the dropdown wont work.
i have tried this
<?php
include("menu.html");
?>
but its not working either.
then i used this script
<script type="text/javascript">
$(document).ready(function() {
$("#menu").load("menu.html");
});
</script>
and it works in firefox and explorer but not in chrome!!!
any ideas???
thnx in advance...
i am trying to include an html file(my dropdown menu) into a div in an html file.
cannot use iframe cause the dropdown wont work.
i have tried this
<?php
include("menu.html");
?>
but its not working either.
then i used this script
<script type="text/javascript">
$(document).ready(function() {
$("#menu").load("menu.html");
});
</script>
and it works in firefox and explorer but not in chrome!!!
any ideas???
thnx in advance...