jQuery is kidding me?!
jQuery is kidding me?!
hi folks,
i try to make a form with jquery... it looks like this:
- var d = jQuery(document.createElement("div")).attr("class", "message").append(a);
- var c = "<input name='1' type='text' id='1' />";
- var z = "<input name='submit' type='submit' id='submit' />";
- this.container.append('<form action='' method='post' id='login_form' />').append(d).append(c).append(z).hide();
and when i look with firebugs/firefox to the source, the code looks like this:
- <form id='login_form' method='post' action=''></form>
- <input name='1' type='text' id='1' />
- <input name='submit' type='submit' id='submit' />
but i want a form so that i can use php to work with this
can someone help me?
thanks a lot!