Hi all,
I'm running into a situation where it seems that JS stops executing as soon as I call an eval in my script. I have an Ajax.Request call to a PHP page that builds a JS object and returns it as the responseText. I want to attach that object to the document (or anywhere else that would allow me to access it later), and to do that, I THINK I need to eval it because it's just a string otherwise.
My problem is as...
User Profile
Collapse
-
wendallsan replied to How would I put data from an AJAX call into a custom class instance (w/ Prototype)in Javascriptok, I can make things work with this I think, thanks! -
wendallsan started a topic How would I put data from an AJAX call into a custom class instance (w/ Prototype)in JavascriptHow would I put data from an AJAX call into a custom class instance (w/ Prototype)
Hi All,
I've stumped myself writing an app that uses Prototype and a bit of PHP. Here is what I have:
I have a custom class named Default_county_ init_data that, upon initialization makes several Ajax.Request calls to gather data from the server.
What I'm having trouble with is getting the data from the Ajax call back to the custom class instance. I basicially want to get a Javascript array from my PHP... -
wow, that's a no-brainer. I have changed the $_GET array references to $_POST. Still the same result, though, the page just hangs. Any other ideas? Thanks again....Leave a comment:
-
trying to use php and sendmail to generate e-mails from form data
Hi all,
I know that this should be an easy thing, but I haven't figured out how to get this to work on my server at home. I have a roommate who is using PHPBB on his site on the server and that is able to send out e-mails no problem. I have created a simple form that sends data to a php page that then gets the data and then should send it out using the send() function. What is going on in actuality is that upon submitting the html...
No activity results to display
Show More
Leave a comment: