I'll give that a try... thanks, James.

Rick

-----Original Message-----
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Priest, James (NIH/NIEHS) [C]
Sent: Wednesday, April 25, 2007 2:14 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Best way to determine if a user has Javascript
enabled?


> -----Original Message-----
> From: Rick Faircloth [mailto:[EMAIL PROTECTED] 

> Wait, I see what you're saying... the same link would serve both
> JS and non-JS users.  How would a link that would work for both
> situations be coded?

Seems like you could have two different links:

<div id="js-on">http://mylink/ajax.cfm</div>
<div id="js-off">http://mylink/query.cfm</div>

Then you'd set js-on to 'display: none;' by default and then turn it on
with jQuery (and turn off 'js-off').

Jim


Reply via email to