[Javascript] DHTML\AJax\WebParts\JavaScript

Rees, Mark Mark.Rees at astrazeneca.com
Thu Jan 22 04:44:03 CST 2009


For what it's worth, this doesn't look right

strScript += "alert('1');"
strScript += ";"

When outputting, you'll end up with

alert('1');;

It would be more use if you showed us the output of strScript rather than the process used to build it. 



--------------------------------------------------------------------------
AstraZeneca UK Limited is a company incorporated in England and Wales with registered number: 03674842 and a registered office at 15 Stanhope Gate, London W1K 1LN.
Confidentiality Notice: This message is private and may contain confidential, proprietary and legally privileged information. If you have received this message in error, please notify us and remove it from your system and note that you must not copy, distribute or take any action in reliance on it. Any unauthorised use or disclosure of the contents of this message is not permitted and may be unlawful.
Disclaimer: Email messages may be subject to delays, interception, non-delivery and unauthorised alterations. Therefore, information expressed in this message is not given or endorsed by AstraZeneca UK Limited unless otherwise notified by an authorised representative independent of this message. No contractual relationship is created by this message by any person unless specifically indicated by agreement in writing other than email.
Monitoring: AstraZeneca UK Limited may monitor email traffic data and content for the purposes of the prevention and detection of crime, ensuring the security of our computer systems and checking Compliance with our Code of Conduct and Policies.
-----Original Message-----
From: javascript-bounces at lists.evolt.org
[mailto:javascript-bounces at lists.evolt.org]On Behalf Of Gene Berger
Sent: 21 January 2009 22:38
To: 'JavaScript List'
Subject: Re: [Javascript] DHTML\AJax\WebParts\JavaScript


Whoops ... 

I have tried the commented-out code.  I can't seem to get a reference to the
calling web page to send back the value to the calling page.  The JavaScript
errors I get are always along the line of "object is null or doesn't exist".
(The object being the parent window calling the popup.)


-----Original Message-----
From: javascript-bounces at lists.evolt.org
[mailto:javascript-bounces at lists.evolt.org] On Behalf Of Peter Brunone
Sent: Wednesday, January 21, 2009 4:34 PM
To: JavaScript List
Subject: Re: [Javascript] DHTML\AJax\WebParts\JavaScript

Gene,

    Are you getting a Javascript error message?  If so, what does it say?  
If not -- or even if so -- what does the Javascript look like when it's 
rendered in the HTML source?

    I'm a little confused since most of the code here is commented out; 
what parts are actually relevant?

Peter

----------------------------------------

From: "Gene Berger" <list_mail at att.net>
Sent: Wednesday, January 21, 2009 2:53 PM
To: "JavaScript List" <javascript at lists.evolt.org>
Subject: Re: [Javascript] DHTML\AJax\WebParts\JavaScript 

I have tried every conceivable (to me ) way to pass the value back to
the form. It is in IE7. It is a user control that sits in a webpart. I
have looked and looked online but no help.

Dim strScript As String = " 
_______________________________________



More information about the Javascript mailing list