hi ! i have any code for lightbox ! this worked with : onclick="loadingPanel.show()
now i have other code for enable or disable content with java script ;
now ! how to add onclick or onsubmit in javascript code ?? NOTE : not add onclick in form ! after click Yes onclick="loadingPanel.show()Code:<script language="javascript" type="text/javascript"> var the_form = window.document.LISTFORM; var filter_form = window.document.FILTERFORM; select_list("{FSTATUS}", filter_form.fstatus); select_list("{FARCHIVED}", filter_form.farchived); select_list("{FCAT_ID}", filter_form.fcat_id); function updateForm(the_url){ if ( !is_checked_item(the_form) ){ alert('CHOOSE_ITEM'); } else{ the_form.action = the_url; the_form.submit(); } } function deleteForm(the_url){ if ( !is_checked_item(the_form) ){ alert('CHOOSE_ITEM'); } else{ if ( confirm('YES or NO') ){ the_form.action = the_url; the_form.submit(); } } } </script>
thanks



Reply With Quote





Bookmarks