[WebDNA] Extract a JS variable into a form input value which can be stored in

This WebDNA talk-list message is from

2019


It keeps the original formatting.
numero = 114495
interpreted = N
texte = 2114 --Apple-Mail=_31A9F5D6-7DB4-47CB-8753-C012378C7977 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I know I have touched this once before a the question below is not = directly a webdna issue, al though webdna will be involved later on to = received some data using ajax, which I have already figured out. My question is the following. How can I extract the score value provided = by JS and sets it as an html form input variable=20 In this case I would like to extract the final score of this game (url = provided) and take the JS score variable into an htm input context.=20 https://codepen.io/ste-vg/pen/ppLQNW = =E2=80=99new_score_value_var=E2=80=99 would be parsed on the webdna = manipulated using webdna. When the js variable can be set inside the input statement I am quite = sure I am able to parse it on to some ajax code I have produced and then = store in a db together some other relevant data. Anyone like to try to help out here? Actual examples would be great = stuff /Palle= --Apple-Mail=_31A9F5D6-7DB4-47CB-8753-C012378C7977 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 I = know I have touched this once before a the question below is not = directly a webdna issue, al though webdna will be involved later on to = received some data using ajax, which I have already figured out.

My question is the following. How can I = extract the score value provided by JS and sets it as an html form input = variable 

In this case I would like to = extract the final score of this game (url provided) and take the JS = score variable into an htm input context. 

https://codepen.io/ste-vg/pen/ppLQNW

<input type=3D"text=E2=80=9D = name=3D=E2=80=9Cnew_score_value_var=E2=80=9D value=3D=E2=80=9Cthe score = ja value form the codeine game=E2=80=9D>

=E2=80=99new_score_value_var=E2=80=99 would be parsed on the = webdna manipulated using webdna.

When the = js variable can be set inside the input statement I am quite sure I am = able to parse it on to some ajax code I have produced and then store in = a db together some other relevant data.

Anyone like to try to help out here? Actual examples would be = great stuff

/Palle= --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --Apple-Mail=_31A9F5D6-7DB4-47CB-8753-C012378C7977-- . Associated Messages, from the most recent to the oldest:

    
  1. [WebDNA] Extract a JS variable into a form input value which can be stored in (Hetzner Powerpalle 2019)
2114 --Apple-Mail=_31A9F5D6-7DB4-47CB-8753-C012378C7977 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I know I have touched this once before a the question below is not = directly a webdna issue, al though webdna will be involved later on to = received some data using ajax, which I have already figured out. My question is the following. How can I extract the score value provided = by JS and sets it as an html form input variable=20 In this case I would like to extract the final score of this game (url = provided) and take the JS score variable into an htm input context.=20 https://codepen.io/ste-vg/pen/ppLQNW = =E2=80=99new_score_value_var=E2=80=99 would be parsed on the webdna = manipulated using webdna. When the js variable can be set inside the input statement I am quite = sure I am able to parse it on to some ajax code I have produced and then = store in a db together some other relevant data. Anyone like to try to help out here? Actual examples would be great = stuff /Palle= --Apple-Mail=_31A9F5D6-7DB4-47CB-8753-C012378C7977 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 I = know I have touched this once before a the question below is not = directly a webdna issue, al though webdna will be involved later on to = received some data using ajax, which I have already figured out.

My question is the following. How can I = extract the score value provided by JS and sets it as an html form input = variable 

In this case I would like to = extract the final score of this game (url provided) and take the JS = score variable into an htm input context. 

https://codepen.io/ste-vg/pen/ppLQNW

<input type=3D"text=E2=80=9D = name=3D=E2=80=9Cnew_score_value_var=E2=80=9D value=3D=E2=80=9Cthe score = ja value form the codeine game=E2=80=9D>

=E2=80=99new_score_value_var=E2=80=99 would be parsed on the = webdna manipulated using webdna.

When the = js variable can be set inside the input statement I am quite sure I am = able to parse it on to some ajax code I have produced and then store in = a db together some other relevant data.

Anyone like to try to help out here? Actual examples would be = great stuff

/Palle= --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --Apple-Mail=_31A9F5D6-7DB4-47CB-8753-C012378C7977-- . Hetzner Powerpalle

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Re:no [search] with NT (1997) One more try (1997) authorize.net SIM & AIM Sample Code (2002) select multiple 2 more cents (1997) Date Comparison (without mistake) (2003) [WebDNA] Error: Can't open order file. Ignoring [OrderFile] context Error: Error: expected [/APPLICATION], but found [/!] instead[/!] (2011) Faxing orders in place of email (1997) Determining Method (2000) Frames and WebCat (1997) WebSTAR, OSX, WebDNA permissions problem ... (2005) New Web Site Developers Database (1996) WCS Newbie question (1997) Email...Thanks (1997) refreshing IE with posted .tmpl (1997) find with exceptions (1997) Webcatalog on MacOs (2000) Summarising on two fields (1998) WC 4.0 on OSX 10.0.4 problems (2001) 'does not contain' operator needed ... (1997)