You are not logged in.
Pages: 1
I've been testing xinha as in the newbieguide and I was succesfull. But when I write code in a production environment, the other data just disappeared from the screen.
There are several textareas in this script, but I already have tested with 2 or 3 textareas, having as examples the newbieguide one.
Anyone has had problems like this?
Offline
Common causes...
1. You are submitting the form directly using form.submit() (or similar), which will not call the onsubmit() function of the form, which means that Xinha never gets told to save the HTML into the textarea. If you are not submitting with a submit button, then make sure you call form.onsubmit() first.
2. You have incorrectly nested the form tags inside tables, or table rows... eg <table><form...>.....</form></table> or <table><tr><form...> ... </form></tr></table>. This is invalid HTML, and sometimes browsers will not throw events (or something, whatever Xinha fails on it), you should use valid HTML, specifically form tags may not be children of table, or tr.
James Sleeman
Offline
Hi gogo.
Maybe I have not described the situation correctly. I am not submitting anything.
Let me explain: when I click on the button that should show me the form, the page is... empty... There are no labels and fields to fullfill. But a strange thing happens: the cursor is the position of the first field, and the select boxes appears - just this king of element. Veeeeery strange!
I'm gonna test a few fields in another script with xinha, but I hope it works :-)
Offline
Pages: 1