Find Jobs
Hire Freelancers

Variable inside Function in Javascript

$10-30 USD

Completed
Posted over 5 years ago

$10-30 USD

Paid on delivery
I need to modify a Variable in Javascript to be read or execute from a function. When the variable is out of the function I can change the value and it updates my graphic. But if I want to update the value inside a function, it does not work. I am not sure what I am doing wrong. This should be easy for an experience javascript coder. I am not that expert. Also I need this for or before 2 or 3 hours.
Project ID: 17806530

About the project

20 proposals
Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hi there, I can take a look at your Javascript code. I am available to work on it now. Thanks for your time, Lia.
$15 USD in 0 day
5.0 (57 reviews)
5.3
5.3
20 freelancers are bidding on average $25 USD for this job
User Avatar
Hi, Let me fix the variable inside the function for you, ready to start now and have it done for you ASAP! Thanks!
$35 USD in 0 day
5.0 (921 reviews)
8.3
8.3
User Avatar
Hi there, I have go through attached file, read your project description and analyze your requirements. I do have over 8+ year of experience in responsive website design and development. I am well versed in the technologies such as CSS3, HTML5, Javascript, Angular JS, PHP, larval, Code Igniter, WordPress, woo-commerce, Magento. Please initiate a chat with me for further discussions. I am looking forward to hearing from you soon. Best wishes
$25 USD in 1 day
5.0 (180 reviews)
7.0
7.0
User Avatar
Hi, there! I am very interested in your job. I read the description carefully and it makes me think that it matches to my skill. I have worked as a programmer for 4+ years. Javascript is my favorite and confident part so for me your job is very easy and I can satisfy you with the time and accuracy. I'm looking forward to your reply. Thank you.
$25 USD in 1 day
5.0 (23 reviews)
6.2
6.2
User Avatar
Hi, I am an expert Javascript developer. Should be done in a few hours. Guaranteed! Let's start now.
$25 USD in 1 day
5.0 (46 reviews)
6.1
6.1
User Avatar
Hi, I have gone through the requirements. Will check the code and resolve the issue. I'm available to start now. Please share additional details. Regards, Mohan
$20 USD in 0 day
4.9 (126 reviews)
6.0
6.0
User Avatar
Hi brother, I can check this out and will let you know about the issue. Lets come to chat brother. Elexoft Tech
$15 USD in 0 day
5.0 (43 reviews)
5.6
5.6
User Avatar
Hi there. Can you send me the piece of code that you are reffering to? You can modify the variable outside the function, you can change it by using scope chain, for example: var e = 32 func = () = { e +=1 } func() That way you can access the global scope and change the value of the variable 'e'. Is that what you wanted? Anyways, feel free to hit me up so we can talk more about this. I am very responsive. All the best
$30 USD in 1 day
4.8 (49 reviews)
5.8
5.8
User Avatar
Hi, the way you are describing it, it should be fairly easy, and most likely related to variable scope and hoisting. However, it will be better if you can attach the file, and specify the line numbers where you are facing the issue. That will help in resolving this quickly.
$30 USD in 1 day
4.9 (19 reviews)
5.6
5.6
User Avatar
I am ready to start working on your project now. I am an experienced coder and this shouldn't take me much time.
$15 USD in 0 day
5.0 (38 reviews)
5.1
5.1
User Avatar
Hi This mighty be happening because of the variable scope, All the variables defined outside function has different values and all the variable which are defined inside a function can be access only inside that function. You may need to define a global variable in order to user that variable out side function. Can i look into the problem so i can better guide/help you to fix it? I'm waiting for your response. Thank you
$25 USD in 1 day
5.0 (20 reviews)
4.7
4.7
User Avatar
Hi..this task is easy for me and deliver you asap..Hi..this task is easy for me and deliver you asap..Hi..this task is easy for me and deliver you asap..
$25 USD in 1 day
5.0 (5 reviews)
3.8
3.8
User Avatar
Hey!! i can surely do it. I am javascript developer with 5 years experience. Skills: javascript , PHP, WordPress, HTML5/CSS3/Bootstrap3, Jquery, MySql I would like to arrange an interview with you for detailed discussion. Regards!!
$23 USD in 1 day
5.0 (9 reviews)
4.0
4.0
User Avatar
Hi, I am ready to start your work right now have a look at my review me and my team is ready to complete your work with a quality work I am capable to do this project. We have 4+ year experience in IT industry. We have already created more than 50+ apps and around 100+ websites project successfully. Let’s discuss a project in detail on chat
$45 USD in 1 day
5.0 (4 reviews)
3.0
3.0
User Avatar
I have 4 years of experience in javascript. send me your code to have a look at it and I will fix it for you
$15 USD in 1 day
5.0 (1 review)
2.1
2.1
User Avatar
Your proposal is your chance to make a good first impression with the employer! Make it count!Your proposal is your chance to make a good first impression with the employer! Make it count!Your proposal is your chance to make a good first impression with the employer! Make it count!Your proposal is your chance to make a good first impression with the employer! Make it count!
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Easton, United States
5.0
20
Payment method verified
Member since Mar 29, 2018

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.