Welcome Guest, Not a member yet? Register   Sign In
Passing DOM in XMLHttpRequest
#9

[eluser]ejangi[/eluser]
The line:
Code:
postBody: 'html=' + $('send-me-to-server')[removed],
should be:
Code:
postBody: 'html=' + $E('.send-me-to-server')[removed],

And I tested this code just now and it works for me.

P.S. Again, you'll need to replace [removed] with [dot]innerHTML


Messages In This Thread
Passing DOM in XMLHttpRequest - by El Forum - 01-23-2008, 03:13 AM
Passing DOM in XMLHttpRequest - by El Forum - 01-23-2008, 04:43 AM
Passing DOM in XMLHttpRequest - by El Forum - 01-23-2008, 05:33 AM
Passing DOM in XMLHttpRequest - by El Forum - 01-23-2008, 06:50 AM
Passing DOM in XMLHttpRequest - by El Forum - 01-24-2008, 08:47 AM
Passing DOM in XMLHttpRequest - by El Forum - 01-24-2008, 09:10 AM
Passing DOM in XMLHttpRequest - by El Forum - 01-24-2008, 09:59 AM
Passing DOM in XMLHttpRequest - by El Forum - 01-24-2008, 10:25 AM
Passing DOM in XMLHttpRequest - by El Forum - 01-24-2008, 04:59 PM



Theme © iAndrew 2016 - Forum software by © MyBB