![]() |
JQuery working properly in IE but not in FireFox and Google Chrome
My code is working in IE 8 but not working properly in FireFox and Google Chrome.
Actually by JQuery I am loading html page in div in same page this working properly in IE but in FF and in GC page opens but not in div it open like target_self type. Means my link page is overridden by the new page Hi I am try to load a html page using jquery, I am able to load html page successfully by a click on link, but problem is loaded page is not using style sheet. Code jscript- Code:
$(function(){Code:
<div id="nav" class="image002-03">Code:
<head>Code:
#mainbody |
I can't see your div with id of 'content', but presumably it is there somewhere.
From jQuery 1.6 prop() is intended to specifically return a property, so you should use attr() to return an attribute. Code:
$(function () {preventDefault() should work, to prevent the default link being followed, but there is no harm in including 'return false' as well. |
Also width and height apply to positioned elements.
|
| All times are GMT +1. The time now is 09:02 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.