-
Simple Javascript concatenation problem.
Hi there
I am getting the data from XML file for each record, the XML node is as below:
<img thumbEvents='true' thumbnail='The-Strangers.jpg' large='The-Strangers.jpg' TitleEn='The Strangers' ChannelName_en_gb='SHOWCINEMA 2' DateTime='February 14 March' Time='10:00' Id='123'/>
Each item has one Id which links to a more information page, I have taken the Id into a variable on first frame:
There is a button on stage, over which i have written this code to check if the value is passing into the variable or not by :
Id = _root.Id.text;
on (release) {
//getURL("http://www.domain.com?Id=126");
getURL("javascript :alert('"Id"')");
}
Can anyone help me fixing this concatenation issue, or correct me if i am putting the incorrect javascript.
Much appreciated
Fahad
But cant get it working even after uploading onto the FTP.
fahad.bhatti@gmail.com
I won't change directions and i won't change my mind, How much difference does it made?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|