Questions tagged as 'javascript'

1
answer

How to enable and disable automatic scrolling in a chat?

I'm having second thoughts about implementing this feature. I have a link that does this, type enable and disable automatic scrolling. For a better understanding, access JSFIDDLE below: JSFIDDLE EXAMPLE     
asked by 14.01.2015 / 14:35
2
answers

What is Riot.js?

I was reading about some frameworks and libraries for front-end UI development and I came across Riot.js . By giving a quick read on the page of the library, I superficially concluded that they promise to make UI componentization easier th...
asked by 11.10.2017 / 15:03
2
answers

UPDATE PHP with JavaScript

I'm trying to perform UPDATE, but it gives the following error:    Notice: Undefined index: id in C: \ wamp \ www \ SitePHP \ base \ updateFuncionario.php on line 4. Follow my code function function atualizar(id){ if(confirm("Deseja...
asked by 23.11.2017 / 20:21
1
answer

What is Chainability?

What exactly is Chainability? Is it applicable in languages other than Javascript? I researched a little, but the term washes me for disconnected articles, I believe it does not come out exactly what to look for to understand such a concep...
asked by 05.11.2017 / 02:40
1
answer

How do I set cookies and set expiration time?

I have a div where I search only logged in users, in it I'm displaying the users but every update is inserted new records, gave me the hint of using cookise more never worked with it. the following code is giving the error Warning: Can not modif...
asked by 10.02.2016 / 01:07
2
answers

Modifying Canvas in real time

How can I use the tag canvas of HTML5 and make this change in real time as I enter the data in input ? I already made form and put tag canvas on the page. I would like to know if in%% of% it is possible to change the...
asked by 23.04.2015 / 17:49
1
answer

Write .txt file node.js

I need to generate a txt file with some information and save it in C: How can I do this using node.js?     
asked by 30.06.2017 / 20:28
2
answers

transition does not work in Javascript

The 'transition' option does not work in this code What is wrong? If you can explain where I went wrong I wanted it to come up slowly <!DOCTYPE html> <html> <head> <title>teste</title> <style...
asked by 18.08.2017 / 21:58
1
answer

Make a select and checkbox behave similarly to radio button [duplicate]

With knockoutjs I'm having a hard time getting values of input inside a table to compare it would have to be as radio button , however they are two checkbox as can be seen in # function DemoItem(id, name)...
asked by 11.08.2017 / 15:29
1
answer

How to use '.each ()' in a variable to get multiple '.attr ()' from a list?

I'm starting to develop a video gallery where I'll upload upload to GitHub for anyone who wants to download and use it. I have a list as follows: <ul> <li><span class="everyVideo ytVideo" data-videoID="6AmRg3p79pM">V...
asked by 12.09.2016 / 03:39