Response title
This is preview!




| $('#mag').click(function (event) { | |
| formSubmit(); | |
| }); | |
| $(window).load(function () { | |
| $("#q").keyup(function () { | |
| var SEARCHWORD = this.value; | |
| $("#MAIN_UL li").each(function () { | |
| if ($(this). | |
| find("a"). | |
| text().toUpperCase(). | |
| indexOf(SEARCHWORD.toUpperCase()) >= 0) | |
| $(this).show(); | |
| else | |
| $(this).hide(); | |
| }); | |
| }); | |
| }); |
For the benefit of others, I will point out that while rel="external" "solves the problem" it introduces a host of others. It's rarely a real solution. You'll likely be back complaining about lack of transitions and performance issues.rel=external in the link solved the problem.As simple as that.
Linking without Ajax
Links that point to other domains or that haverel="external",data-ajax="false"ortargetattributes will not be loaded with Ajax. Instead, these links will cause a full page refresh with no animated transition. Both attributes (rel="external"anddata-ajax="false") have the same effect, but a different semantic meaning:rel="external"should be used when linking to another site or domain, whiledata-ajax="false"is useful for simply opting a page within your domain from being loaded via Ajax. Because of security restrictions, the framework always opts links to external domains out of the Ajax behavior.
© 2012 jQuery Foundation
Sponsored by
and others.
