Questions tagged as 'javascript'

1
answer

HTML Conflicts in two javascript files

I'm having trouble calling two .js files in my html page, because the two do not work together, just separate, I believe it's a conflict problem, custom alert on my site, but when I paste the code on the site the captcha does not work, it l...
asked by 15.08.2016 / 17:04
2
answers

Access function object and use it anywhere

I made a request from a json file and passed it to a function. $.post('principal/json',minhaCallBack,'json'); //Requisição function minhaCallBack(returnhtml){ //função var json = returnhtml; console.log('json', json); return json; };...
asked by 20.06.2016 / 15:33
1
answer

how to add an image only in checked checkbox [duplicate]

I would like to know how I can do to add an image with append only within span.abcd that is next to the checked checkbox. HTML <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12"> <div class="hovereffect"> <...
asked by 21.06.2016 / 21:09
2
answers

How to make a load bar inside a load () Javascript?

I have a php page index.php that loads another php page page.php with a load (): $("#div").load('pagina.php'); On this page I have a For loop with a lengthy sql and I have to show the progress of this query. The problem is that this pag...
asked by 21.06.2016 / 20:15
1
answer

How to use a Java type getText (). toString () in HTML with JavaScript?

How do I get what is typed in an HTML text box using JavaScript, as does getText().toString() in Java?     
asked by 12.06.2016 / 22:48
2
answers

Detect stop () from Object Embed and return Alert ()

To all, once again, I ask for help. I'm using a firefox with MPlayer Plugin What I want is to send an alert to the end of a video played, ie if the video player is inactive (stopped) emit alert() or if it is active (running) the...
asked by 12.06.2016 / 22:02
1
answer

JQuery datepicker popup in white

My project is in .NET MVC 4 and I'm having trouble calling the datepicker. It is applied but the popup is small above the field and blank. I want to use it in this field: @Html.TextBoxFor(model => model.DataDesligamento, new { @class = "for...
asked by 04.08.2016 / 19:34
1
answer

How to fix the "charset" of an XML document?

I have this code $.ajax({ url: "https://crossorigin.me/http://www.acidigital.com/rss/rss_santo.php", crossDomain: true, contentType: "application/xml; charset:utf-8", type: "GET", dataType: "xml", success: function (re)...
asked by 04.08.2016 / 17:46
1
answer

External variable receives value from a success

I am not able to retrieve the value of the countEventChecks variable after success. How can I assign the value of a return to another variable? for (var x = 0; x < eventosCkeckedPeloUser.length; x++) { if (eventosResponse[i].id == event...
asked by 04.06.2016 / 14:38
2
answers

Assigning a value to the checkbox in javascript

I have a form that contains some checkbox that when they are marked I wanted to be assigned the value 1 to do the Insert on the server, I have already seen how to check if it is marked, using document.getElementByInput, but I assign the tag with...
asked by 06.06.2016 / 02:55