Questions tagged as 'javascript'

2
answers

How to use the value of options?

In the "options.html" file I know exactly how to make a markup work to enable some javascript set like ... <label> <input type="checkbox" id="test"> Habilitar </label> That will execute the following codes inside o...
asked by 27.08.2015 / 05:04
1
answer

How to use JSON JavaScript to retrieve result in C?

I realized that JSON is used to communicate between systems. So it is possible to communicate with C, retrieving variables through a JSON generated by the code and send through the JavaScript AJAX response? Or is there a better known techniqu...
asked by 14.08.2015 / 05:18
2
answers

How to display a hidden select in CSS using Javascript

I have a contact form on a decoration website, but I want to perfect it by putting a select more only hidden, Example, my form asks for, Name, Email, Telephone DDD, Event Date and Decoration Theme, But I would like to put a category...
asked by 12.08.2015 / 22:13
3
answers

How to implement spinner loanding in AngularJS?

I'm trying to implement spinner loanding on my project at angularjs, it's been a while! the spinner should run whenever a request is executed. What library do I use?     
asked by 24.08.2015 / 22:30
1
answer

Make text editor with syntax highlight

How can I make a syntax highlighting HTML system for a text editor? I thought of using a <pre> tag with contenteditable="true" , so using RegEx I would override the syntaxes of contentText, and would modify the innerHTML ... B...
asked by 19.08.2015 / 03:15
1
answer

Is there any possibility of performing a javascript action after the end of a download?

I have a link to a PDF on my site. I would like the page to enable another button at the end of your download. But the question is: is it possible only with javascript / jquery? If yes, how would it work?     
asked by 18.08.2015 / 18:43
1
answer

Using ajax serialize in Laravel

What I need When the user clicks the send button, ajax will call a method of a class to check if the typed text already exists and in a table. It returns the result, if false it leaves the form to be sent and the field is registered in the bd...
asked by 27.02.2015 / 14:03
1
answer

A constant eventListener, or almost this

I've always been in doubt as to this, as I remember doing my ajax test, and every time I updated it, I lost the event logged. Example: A list of names <script> $(document).ready(function(){ $(".clickLi").click(function(){...
asked by 24.02.2015 / 21:06
1
answer

Limit number of decimal place characters javascript

The user can enter values into an input text. What happens, I want to limit the number of characters after the period. Valid example:    2.324       2343423.432 That is, the user can not enter more than three decimal places. Each time a...
asked by 20.08.2015 / 11:37
1
answer

Move Browser Image

I'm moving an image with the mouse. When I use Chrome it works perfectly. But when I use the Firefox browser, moving the image shows the ban icon on the mouse, and the move is different. How can I resolve this? Example: link     
asked by 24.03.2015 / 18:01