/    Sign up×
Community /Pin to ProfileBookmark

error in window.showModalDialog

My error is invalid pointer this is the sample of my code

var sTrvMenuSet = top.frmNav.frames[2].frames[1].document.forms[0].all(“q_TrvMenuSet”);

xmlTreeA = sTrvMenuSet.treeNodeSrc;
var oRetObject = window.showModalDialog(“../Dialogs/Edit.aspx?xmlTreeA=”+xmlTreeA ,”edit”,dialogProps);

i’m having an error in this part
var oRetObject = window.showModalDialog(“../Dialogs/Edit.aspx?xmlTreeA=”+xmlTreeA ,”edit”,dialogProps);

help me please ?

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@FangSep 22.2004 — The string in the URL, try the string like this:

var mdURL=../Dialogs/Edit.aspx?xmlTreeA="+xmlTreeA;

var oRetObject = window.showModalDialog(mdURL,"edit",dialogProps)
Copy linkTweet thisAlerts:
@lianqtlitauthorSep 22.2004 — Thank you for your help

I have configured why im encountering the error: invalid pointer.

First the xmlTreeAs' value is

xmlTreeA = "<TREENODES><TREENODE TEXT='&lt;acronym title="res_cbiRFModuleGI"&gt; res_cbiRFModuleGI &lt;/acronym&gt;' </TREENODE></TREENODES>";

that is why im encountering the invalid pointer because of the semicolon(?. The code is being terminated.
Copy linkTweet thisAlerts:
@lianqtlitauthorSep 22.2004 — my solution is still wrong please help
×

Success!

Help @lianqtlit spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...