| Subject: | the Javascript Question?> |
|---|---|
| From: | "nightwolf666" <webforumsuser@xxxxxxxxxxxxxx> |
| Date: | Thu, 24 Jul 2008 13:33:01 +0000 (UTC) |
| Newsgroups: | macromedia.coldfusion.getting_started |
I am just trying to create a feature when i get an error from the page like:
abc.cfm?error="blahsgdhajhasdasdghafdhgasfhgafdhgasfdhgasfd"
i was trying that the error should appear on the body onload event through
javascript.
I tried something but i did not came accross it.
This was the code i am trying.
<cfscript>
function a()
{
var error = '#url.error#';
}
</cfscript>
<cfoutput>
<body onload="return alert('#error#');"></body>
</cfoutput>
It will be new thing for me if this gets work.
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Variable is undefined, Davo |
|---|---|
| Next by Date: | Re: Tutorial Confusion, alan_lindsay |
| Previous by Thread: | Variable is undefined, Davo |
| Next by Thread: | Re: the Javascript Question?>, GArlington |
| Indexes: | [Date] [Thread] [Top] [All Lists] |