Questions tagged as 'javascript'

1
answer

Upload javascript file along with infinite scroll

I need to reload a JS function as soon as I roll the page with infinite scroll in AJAX. When the page is rolled the JS file needs to accompany.     
asked by 23.04.2014 / 21:43
2
answers

How to hide href with jQuery while input file is not selected?

I have a% of image upload% where the user before doing an update on the avatar image or profile cover, he visualizes (in the same form) his registered image or a system default. It turns out that my form has an "onchange" and my inp...
asked by 24.04.2014 / 02:38
1
answer

Make a POST with AJAX and JSON with pure Javascript [duplicate]

I have the following code in jQuery $.post('/privmsg?', { folder: 'inbox', mode: 'post', post: '1', username: 'Wagner', subject: 'Título', message: 'Mensagem' }); I'm studying Javascript, and would like to do the s...
asked by 27.07.2014 / 21:22
2
answers

JavaScript to interact with Java

You can get a javascript value and put it inside a variable in java . EX: var len = $(" #relacaoPax select[name=tipo] ").length; console.log( "len = " + len ); }); <% int l = len; System.out.println( "//L = " + l ); %&g...
asked by 22.07.2014 / 19:04
1
answer

Value as Object when selecting item in Select2

The Select2 plugin works normally, the only problem is when I make the item selection the value set in the hidden (mandatory to bring data via AJAX) stays as [Object Value] and not the value specified by the format. Follow form...
asked by 24.07.2014 / 15:41
2
answers

Simulate a Click in WebBrowser using C #

I would like to know how to do a click on a button on a website even by clicking on such a debug web element in the browser itself. I'm using the C # webbrowser component I have tried some methods here, but without success, even using GetE...
asked by 23.07.2014 / 20:25
1
answer

Error using $ http AngularJS

I'm trying to call the $ http method of AngularJS to get information from a REST WebService, but the following error appears: Error: [$injector:modulerr] http://errors.angularjs.org/1.2.23/$injector/modulerr?p0=contatosApp&p1=%5B%24injecto...
asked by 07.09.2014 / 21:53
1
answer

Problem with bundle scripts

When I publish my asp.net mvc application the bundle script generates a ref problem. scripts. As in the debug environment I do not use the bundles, the problem does not happen. Error:    "common / scripts": Duplicate data property in ob...
asked by 03.09.2014 / 14:31
2
answers

Calculate Distance Api Google Maps v3 Automatically in a Loop

I would like to calculate the distance between two points using the api Google Maps V3 automatically without the use of interface, and send them to java for future processing. The coordinates are in a MySQL database. I'm even getting more tha...
asked by 09.09.2014 / 01:47
1
answer

Retrieve textarea value in form .serialize ()

I've always used generic function, but I'm having a problem retrieving the value of textarea . I use a text editor in textarea , the CkEditor . Here is the function I'm using: function sendPost(form, action, callback) { aja...
asked by 03.04.2014 / 15:53