This may be a simple and stupid question, yet I am going ahead and asking.
-----------HTML---------
<input type="button" value="Yes" class="Y" id="Yes">
<input type="hidden" value="x1" id="a1" name="a1">
-----------JQUERY--------------
$('#RYes').click(function() {
});
When I click on #RYes, it must save the value of #Yes and #a1 into the db. Can I write javascript into the jquery code shown above. I am using PHP/ JavaScript