The function itself? I really don't think you need to, that function will work in all browsers and really down not need to depend on a framework to achieve. With that said, below is how you would change the function.
function confirmAction( action ){ jQuery('#button_' + action + ', #button_back').hide(); jQuery('[name=confirm]').submit(); // assuming your form is named confirm return false; }; On 2/11/08, Josoroma <[EMAIL PROTECTED]> wrote: > > > 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. > > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com