Topic: DOM in a hidden field. |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: Willaimsport, PA, US of A the hole in the Ozone |
posted 11-26-2003 15:25
Is there anyway of recieving an XML document, modifying it with Javascript (appending, deleting tags etc...) and then sending the whole thing back to the server where it can be stored in a database? |
Paranoid (IV) Inmate From: France |
posted 11-26-2003 15:41
Maskkkk: Though I haven't done it so far, I'm pretty sure it's possible. I remember to have already manipulated an XML via the DOM and its innerHTML so it seems quite feasible to load/create an XML document, alter it and send it in POST ( not in GET because of the 4Kb limits ) via a form. |
Paranoid (IV) Inmate From: Willaimsport, PA, US of A the hole in the Ozone |
posted 12-05-2003 01:27
Say you think it could be done through a java applet? |
Paranoid (IV) Inmate From: France |
posted 12-05-2003 01:45
No, I say it can be done in JavaScript. Indeed I've already done that except that I hadn't sent the altered XML to a form but changing the value of form field is not the most difficult thing on earth. |
Paranoid (IV) Inmate From: Willaimsport, PA, US of A the hole in the Ozone |
posted 12-17-2003 08:53
Ohhh...so that's how ya do it...... |