# Need help badly; posting var using a jscommand

**URL:** <https://forum.kirupa.com/t/need-help-badly-posting-var-using-a-jscommand/263623>\
**Category:** Uncategorized\
**Created:** [June 17, 2008, 7:26pm UTC](https://forum.kirupa.com/t/need-help-badly-posting-var-using-a-jscommand/263623 "2008-06-17T19:26:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![glennnphp](https://avatars.discourse-cdn.com/v4/letter/g/3d9bf3/32.png) [@glennnphp](https://forum.kirupa.com/u/glennnphp)\
**Post date:** [June 17, 2008, 7:26pm UTC](https://forum.kirupa.com/t/need-help-badly-posting-var-using-a-jscommand/263623/1 "2008-06-17T19:26:40Z")

</div>

is there a way to post a message field variable with the jscommand?

var jscommand:String = “window.open(‘file.php?message=message’,‘win’,‘height=200,width=300,toolbar=no,scrollbars=yes, resizable=no’);”; getURL(“javascript:” + jscommand + “, void();”);

i’ve tried to put this somewhere \>\> ‘\_blank’, ‘GET’ \<\< to no avail.

please help? thi s was supposed to be done yesterday…

thanks
