Yup, add then click, and use the return value (normally false to stop the HREF triggering) to allow the HREF to continue (i.e. return true in the function)

But if you're revealing a password like this, it won't be very secure, because something "HIDDEN" is still there in the "View Source"
L

pinman wrote:
Hello, as a complete beginner in the world of jQuery I'm struggling
both with the concept and coding of what I am trying to achieve and
would appreciate any help you guys can offer :-)

I'd like to have a hyperlink on a page, that when clicked reveals some
hidden text below the hyperlink AND at the same time opens a new
browser window to a specified URL (which would have been declared in
the HTML code NOT the jQuery bind code).

There will be several of these 'Click here to reveal password and open
site' hyperlinks on the page.  Will this scenario cause a problem in
the sense that if you click on one hyperlink then all of the reveals
would be triggered and numerous windows would be opened?

Is this possible?

Many thanks for your time and any advice you can give me :-)
------------------------------------------------------------------------


No virus found in this incoming message.
Checked by AVG - www.avg.com Version: 8.5.387 / Virus Database: 270.13.16/2241 - Release Date: 07/16/09 05:58:00


Reply via email to