Menu
Howdy lads ‘n lassies,
I’d like to use an id name in an if() parameter if I can determine that it is being focused on. Soooooooooo, I’m wondering how to do this! ha ha. For example:
//
[code]
if(is this_id being focused on?) {
do this;
} else {
do that;
}
//[code]
Thanx for any suggestions π
[i]Originally posted by okham [/i]Yes, my point was that JavaScript doesn't help improve this, it just narrows down your users, so why both using JavaScript to write your pages?
[B]even when you refresh a page with a new file, aren't you in the same boat? I mean, waiting for the content of that page to download?[/b][/quote]
[i]Originally posted by okham [/i]That's the thing though, you don't create a completely different site for no JavaScript users.
[B]It's sort of tough for me right now, though, not to rely on javascript to write a page. Other than making a painfully plain, and simple HTML page, I don't have much knowledge in other areas to have a reasonable alternative (especially as far as displaying <div>s). Do you think there are really that many people who don't have javascript enabled? I really sort of cringe at the idea of having to create something else entirely from scratch just to direct people to if they don't have javascript enabled.[/B][/QUOTE]
0.1.9 β BETA 5.19