Topic: DOM in a hidden field. (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: Willaimsport, PA, US of A the hole in the Ozone |
![]() 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 |
![]() 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 |
![]() Say you think it could be done through a java applet? |
Paranoid (IV) Inmate From: France |
![]() 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 |
![]() Ohhh...so that's how ya do it...... |