616
Views
6
Comments
JavaScript Value to Local Variable
Question

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

2016-04-21 20-09-55
J.
 
MVP

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



UserImage.jpg
Arvin Kenosis Acosta

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)



2025-04-30 18-53-39
Manikandan K

Hi Arvin Kenosis Acosta,

Web or Mobile.??

UserImage.jpg
Arvin Kenosis Acosta

Web

2016-04-21 20-09-55
J.
 
MVP

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?



2020-02-28 09-46-54
Eduardo Jauch

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

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.