How to pass dynamically generated data from JS to server.
There is just only one way which came upon.
That's something like hidden div in <form> .. </form>, get the object, and via InnertHTMLconcatenate <input>s ...
document.getElementById("mydiv").InnertHTML = "<input type=\"hidden\" value=\""+data+"\" />";
And so on ...
I don't like it really. And also there is a bug when data contains " it goes wrong
So how this is done professionally?
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
Please use [Code]your code goes in here[/Code] tags when posting code.
Before posting your question, did you look here
Got a question on Linux? Visit our Linux sister site.
Modifications Required For VB6 Apps To Work On Vista
By rperez in forum Database
Last Post: 01-02-2009, 04:14 PM
By software_develo in forum Database
Last Post: 11-21-2005, 10:18 AM
By Andy H in forum Database
Last Post: 10-04-2005, 01:27 AM
By trible777 in forum Database
Last Post: 08-16-2005, 10:48 AM
By andriano in forum Enterprise
Last Post: 10-02-2000, 03:54 PM
Tags for this Thread
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL