aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Display the picture in [object HTMLImageElement] using PHTML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Display the picture in [object HTMLImageElement] using PHTML" Watch "Display the picture in [object HTMLImageElement] using PHTML" New topic
Author

Display the picture in [object HTMLImageElement] using PHTML

Koldo Urrutia
Ranch Hand

Joined: Dec 16, 2011
Posts: 85
Hey

I tried to access a cookie that has a [object HTMLImageElement] but I found out that cookies have a limit on size so Im trying to do this with pure Javascript

I can store the value of what I want in a hidden div and now I want to pass that div to another page. Ive tried constructing it manually and Firebug SHOWS that I pass not only the GET value but also the variable YET I cannot print it out. Why cant I?

3 "pages" are involved.

Page 1 has a link that when linking this link, I open a iframe
Page 2 is the iframe which contains the data I input (lets say my name) and puts this in a hidden div
When I close Page 1, Page 2 is shown again which already has this data (if I remove the hidden from the div, it shows there automatically updated)
Page 3 is the final destination of all of this. I mentioned that Firebug does indeed show that the POST variable has passed and it has data but putting something line (PHP) <?php print_r($_GET);?> shows Array() as if it was empty.


(Reverse) AJAX? Although I have no idea how I would implement it at all.........

Please ask if you need any information.

Thank you
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Display the picture in [object HTMLImageElement] using PHTML