Questions tagged as 'javascript'

1
answer

How to handle addEventListener's click event in javascript

I need to develop a game using HTML 5 and Javascript with the game being within canvas . I created a game opening screen and after clicking play it goes to another screen. I called this event click document.getElementById('canvas')....
asked by 03.06.2014 / 18:53
1
answer

How to send the blob in real time?

Is there any way to send the blob to the server in real time (streaming)? I looked for sockets but I did not have good results ...     
asked by 01.06.2014 / 21:44
1
answer

JavaScript does not exist page on Aspx

I have an application in ASPX and C #. Within the "Scripts" directory of the application, I have a js with the following code: function RecuperaDados(valor){ loadXMLDoc("../Views/Home/Contact.aspx?ID="+valor); } However, it is retu...
asked by 18.07.2014 / 14:01
1
answer

Difficulty with AJAX pick up values from nodes

I would like to separate this data with ajax , but I am having difficulty with nodes : <?xml version="1.0" encoding="ISO-8859-1"?> <android_ecs.xml> <node><IAAUTNUM>2089777</IAAUTNUM></node> <...
asked by 17.07.2014 / 16:26
2
answers

jQuery Mask Plugin does not format the number correctly

I'm working on an MVC4 project, the mask works correctly when saved, but when returning the database data the plugin shows incorrect data if the value ends at 0. Data example: 99.000,00 , when I go in the Edit View it gets: 990,00...
asked by 18.07.2014 / 21:03
1
answer

Generate date sequence within input automatically

How can I generate a date sequence and place each date within inputs (OS INPUTS ALREADY EXIST WITHIN A FORM) from the start date and end date automatically? I put the start and end date, and script generates the date range on inputs that al...
asked by 02.01.2019 / 14:20
0
answers

Error in metadata type when I try to do POST

I have this code: function insertuser(obj){ var listID = obj.getAttribute('data-listid'), itemID = obj.getAttribute('data-itemid'), URLID = obj.getAttribute('data-itemurl'); var UserId = _spPageContextI...
asked by 02.01.2019 / 15:37
0
answers

Open a modal of another class POO React

I'm learning JavaScript and POO so I can be doing some bullshit, I'm trying to make a navbar and that navbar open different functions of different classes in other files. This part where you have the return arrow, the text 'products' and the...
asked by 05.01.2019 / 20:06
3
answers

How to execute a code when clicking on a link? [closed]

I am creating a website that will have a login system. By logging into the site, you will have several products inside, one next to the other ... Each product will have its value, and each user will have a credit to spend on the site ... W...
asked by 30.01.2014 / 11:30
1
answer

Replace / switch slider1.value () with slider2.value () within a variable in the code and within the position on the canvas

I would like to replace / toggle the slider that gives value to a variable within an object. The slider2 should replace and occupy within the code and also on the canvas the place that previously occupied the slider1, and vice versa. Let's suppo...
asked by 31.12.2018 / 12:03