thanker
Design Dabbler

SET a value for Web request control or SQL request control using JQuery, when its ts display format is text box

how to set avalue using a Jquery on custom script for the webrequest control when its display format  lable or text box?

i tried the below:

NWF$("#" + webrequestval).text("");

NWF$("#" + webrequestval).val("");

but it fails

0 Kudos
Reply
2 Replies
praios81
Ribbon Ruler

Re: SET a value for Web request control or SQL request control using JQuery, when its ts display format is text box

Hi,

first step is to set a client ID to your text box control.

Open text box control's settings and expand Advanced section.

There you can set Store Client ID in JavaScript variable to yes.

Now you can set a variable name in Client ID JavaScript variable name, in your case maybe webrequestval.

Now you can set the value of the text box with

NWF$("#" + webrequestval).val("Hello World");

Hope this helps,

Enrico

0 Kudos
Reply
thanker
Design Dabbler

Re: SET a value for Web request control or SQL request control using JQuery, when its ts display format is text box

Unfortunately this does not work

0 Kudos
Reply