ah, turns out each() stuff is called as a method
darcs-hash:20080918140756-5ed1f-800912781c9b34d4490cef462ad32a6afa7e799c.gz
This commit is contained in:
parent
7d6c0c28df
commit
4520daac3e
|
@ -69,12 +69,12 @@ $(document).ready(function(){
|
|||
$('form#'+id).replace(new_form);
|
||||
}};
|
||||
|
||||
function addAjaxHidden(form) {
|
||||
ajax = document.createElement('input');
|
||||
function addAjaxHidden() {
|
||||
var ajax = document.createElement('input');
|
||||
ajax.setAttribute('type', 'hidden');
|
||||
ajax.setAttribute('name', 'ajax');
|
||||
ajax.setAttribute('value', 1);
|
||||
form.appendChild(ajax);
|
||||
this.appendChild(ajax);
|
||||
}
|
||||
|
||||
$("form.favor").ajaxForm(favoptions);
|
||||
|
|
Loading…
Reference in New Issue
Block a user