> 
> Do you have a JavaScript reference to hand, at all ?
> 

Hi, the below code - it displays a page & onclick submit is displays a popup 
'Alert' 

I need to call it via a href from page1 to the second page where i can set the 
style of the output!
Page1: <A HREF='ajax.htm?name'>Click here</A>
Page2: displays the output?

<body>
<form action="test.html" method="get">
<div>
<label>Name<input name="name"></label>
<input type="hidden" name=".submit" value="submit">
<input type="submit" value="Submit">
</div>
</form>

<script type="text/javascript" src="ParsedQueryString.js"></script>
<script type="text/javascript">

var pqs = new ParsedQueryString();

if (Boolean(pqs.param(".submit")))
{
var name = pqs.param("name");
alert("You said your name is " + name + ".");
}

</script>
</body>

</html> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:296346
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to