[jQuery] How do I change the target value for all links with a target of _top
I am embedding an external page (with permission) in an iframe on my page. The problem is when the page has a link with a target value of _top it navigates out of the frame. An example link I could try to change is: a target=_top href=http://jobsearchlog.com;Job Search Log/a I want to change the target attribute value to an empty value or even better remove the target attribute from the link. I have been successful at using $('[EMAIL PROTECTED]http://;]') to identify external links so I figured $('[EMAIL PROTECTED]_top]') would work to identify the links with that target but it doesn't seem to work. Any help would be greatly appreciated.
[jQuery] jQuery Script not working on page in RIA
Hi, Please forgive if this shows up twice. I thought it may have bounced because I was using pre tags. I have a jquery script that works if the page is called directly at http://67.199.57.74/jobsearchlog/faq.cfm or the script is added through firebug after going to http://67.199.57.74/jobsearchlog and clicking F.A.Q. from the top menu item. I am working on a FAQ page for my site which will be going live soon. My goal would be to display a answer (dt) to a FAQ only after they click the question (dd). I don't receive an error when clicking the Question but the answer doesn't display. BTW, I am using jQuery on a few other places in the RIA application and don't have problems like this. Any assistance you could provide would be greatly appreciated. The script: $(document).ready(function(){ $('dt').each( function( intIndex ){ // Bind the onclick event to simply alert the# // iteration index value. $( this ).bind ( click, function(){ $(this).next().toggle() } ); }); //end of document.ready }) A piece of the page code that is to be changed. a name=registration/a div class=faqsection id=faq_registration dl class=deflist id=deflist_registration dt class=faq_dt id=faq_1Why should I use Job Search Log? dd class=faq_dd id=def_1!--- todo Answer Question ---/ dd /dt dt class=faq_dt id=faq_2Do I need to register to use Job Search Log dd class=faq_dd id=def_2No, but you will not be able to send letters unless you have a personal profile./dd /dt dt class=faq_dt id=faq_3Are you affiliated with the State Unemployment Department? dd class=faq_dd id=def_3No, Job Search Log is an independent venture but we endeavor to provide free services to all users of the state uemployment system and welcome the Unemployment Departments to link to our site./dd /dt /dl /div
[jQuery] jQuery Script not working on page in RIA
Hi, I have a jquery script that works if the page is called directly at http://67.199.57.74/jobsearchlog/faq.cfm or the script is added through firebug after going to http://67.199.57.74/jobsearchlog and clicking F.A.Q. from the top menu item. I am working on a FAQ page for my site which will be going live soon. My goal would be to display a answer (dt) to a FAQ only after they click the question (dd). I don't receive an error when clicking the Question but the answer doesn't display. BTW, I am using jQuery on a few other places in the RIA application and don't have problems like this. Any assistance you could provide would be greatly appreciated. pre jQuery(document).ready(function(){ jQuery('dt').each( function( intIndex ){ // Bind the onclick event to simply alert the# // iteration index value. jQuery( this ).bind ( click, function(){ jQuery(this).next().toggle() } ); }); //end of document.ready }) /pre A piece of the page code that is to be changed. pre a name=registration/a div class=faqsection id=faq_registration dl class=deflist id=deflist_registration dt class=faq_dt id=faq_1Why should I use Job Search Log? dd class=faq_dd id=def_1!--- todo Answer Question ---/dd /dt dt class=faq_dt id=faq_2Do I need to register to use Job Search Log dd class=faq_dd id=def_2No, but you will not be able to send letters unless you have a personal profile./dd /dt dt class=faq_dt id=faq_3Are you affiliated with the State Unemployment Department? dd class=faq_dd id=def_3No, Job Search Log is an independent venture but we endeavor to provide free services to all users of the state uemployment system and welcome the Unemployment Departments to link to our site./dd /dt /dl /div /pre