JavaScript Value to Local Variable

JavaScript Value to Local Variable

  

I just want to ask if there's a way how I could get the value from JavaScript to a local variable.

There are ways.

(Talking web here)


- you can use fakenotify to pass the value to the server.

- you can have an hidden-input to put the value in, then you know the value in the server as well



Hi Arvin Kenosis Acosta,

Web or Mobile.??

Web

J. wrote:

There are ways.

(Talking web here)


- you can use fakenotify to pass the value to the server.

- you can have an hidden-input to put the value in, then you know the value in the server as well



Hi, I'm just new here. Can you help me the specific procedure on how to do that? I already get the Value in JavaScript by using this code but the thing is I don't know how to get the value from JavaScript to Local Variable


SyntaxEditor Code Snippet

(document.getElementById('"+ uploadWidget_NewPaymentLedger.Id +"').value)



Ok, let me rephrase it a bit.


what do you mean by local variable?

what do you want to achieve exactly?

your snippet suggests you want to do something in javascript and what exactly is that?



Hi Arvin.

I'll try to guess what you want to do. See the link bellow:

https://success.outsystems.com/Documentation/10/Developing_an_Application/Design_UI/Inputs/Upload_Files

You don't need JavaScript if you want to upload files.

Cheers