actionsketch
-
Posts
128 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by actionsketch
-
-
well... you seem to use some stuff I'm not familiar with, but I think I might be able to help...I'm not sure about javascript but I know with other languages I've used, you cant do:var T = document.getElementsByTagName("textarea")[0]you have to just do this:var T = document.getElementsByTagName("textarea")T[0].readOnly = (T.readOnly == "readonly") ?"" :"readonly"and then... I've never seen- (T.readOnly == "readonly") ?"" :"readonly" -before... but you might just tryif(T[0].readOnly == "readonly") T[0].readOnly="";hope that helps
-
I'm not sure I understand fully what you want, but I'm going to try to tell you how I would do it.<div name="myForm" style="visibility: hidden">any thing you want to put can go in here.</div>then have your button or menu link, whatever, just set the visibility of myForm to visible. ex: <a onclick="document.myform.style.visibility='visible'">View the form!</a>Does that help?
Posting Info on another page
in PHP
Posted
I'm actually not sure how to manually post to another page in PHP, if possible, but you can send with get. header("location: whatever.php?variable=blah&msg=email sent!");that will redirect the page to where ever you want assuming you havnt already set header information. If you have, then (as far as I know) you have to redirect using javascript.