[jQuery] Translate old JS function to Jquery - Super newbie question
If i have the following button:
<a href="javascript:{}" class="positive" id="button_confirmAction"
style="display: block;" title="Register" onClick="valid()"; return
false;" >
The aobve button calls the next function:
function confirmAction( action ) {
document.getElementById('button_' + action).style.display = 'none';
document.getElementById('button_back').style.display = 'none';
document.confirm.submit();
return false;
}
My super newbie question is?
How do i can convert the function in Jquery?
Thanks in advance.