|
Posted by Rick Merrill on August 15, 2008, 11:25 am
Please log in for more thread options
eelco.v987 wrote:
> Hello,
> I am buildig a website, which uses javascript for several features
> such as fieldvalidation, popupwindows etc.
>
> Currently I am using <a href="#foo"
> onClick="Validate('form_comment_fieldname')">Validate</a> mainly
> becuase I do not want to openly show the variables in the browser.
> In the case of a popup I have this:
> <a href="#foo" onClick="Validate('http://www.mysite.com/helpdocs/
> donotopen/chapter1/index15.html)">Chapter 1 support</a>
> But the thing is, I don't like the #foo as url either.
>
> So I was wondering what's the most common way to call javascript
> functions from html as onclick or straight in the href?
>
> thanks for reading and please share your thoughts :)
Doesn't javascript have its own 'onclick' tool?
|