[Javascript] item.onclick = "alert('foo');";

Anthony Ettinger apwebdesign at yahoo.com
Mon Nov 7 20:24:48 CST 2005


> I believe it should be "JavaScript:alert('foo');"
> 
> Assuming you want to popup a dialog with the word
> "foo" and an "ok" button.

>From what I've read, you should "NEVER" do "javascript:"

Anthony Ettinger
ph: (408) 656-2473
web: http://www.apwebdesign.com



More information about the Javascript mailing list