Is safe to put variables in a onclick definition?
<p>This is a really newbie question.</p>

<p>I've managed to get some jQuery stuff running quite smootly but i ended up having many
events like this one..</p>

<pre><code>&lt;div class="aClass" id="B436" onclick="updateSearch('B436', '','Brand','193557', 0)"&gt;My Name&lt;/div&gt;
</code></pre>

<p>Now i'm wondering if it's "safe" to put all my necessary function variables in this way. I check everything in the function so even if with firebug someone change some values they can't hurt much but... is this the correct way to do ?</p>

<p>Thanks</p>
