All Questions
5
questions
-2
votes
1
answer
573
views
Continuously updating textarea data to variable
I want to get text from textarea to a string and update string content on change. Also, I want to make it without jQuery.
HTML:
<textarea id="switcher" oninput="update(this)" ...
1
vote
1
answer
2k
views
Javascript setInterval doesn't update timestamp used inside
I am using setInterval in Javascript. For a simple example I tried to update a time displayed.
var tim = new Date();
function loadLog(){
document.getElementById('timebox').innerHTML=tim.getTime();...
0
votes
4
answers
4k
views
have div content update when variable changes in javascript
i have searched around but cant find exactly what i need. i want the div, which contains a variable value, to update every time the variable changes. is this possible? without reloading the whole page,...
0
votes
4
answers
6k
views
Enter variable name in textbox and get corresponding value
I have created 3 variables a,b,c. I have assigned values to a and b and have also made a textbox. What I want to do is enter the name of a the variable in the textbox and click the button, then the ...
0
votes
2
answers
1k
views
PHP, JavaScript and MySQL: updating and passing of variables
I am trying to increment a number and update the database and then display the number without refreshing the page. I am just wondering, is there a way to read/update MySQL using JavaScript?
I tried ...