Questions tagged as 'jquery'

3
answers

How to get the index of the button clicked?

I'm using a loop to dynamically generate elements: for(var i =0; i< arrSequencia.length;i++ ){ strInterface += "<tr class='formulario'>"+ "<td class='col-md-1'>"+ " <input type=\"button\" class=\"btn btn-danger...
asked by 07.08.2015 / 20:48
1
answer

window.open () does not load the page

I'm trying to open a link in a new window / tab but when it opens it does not load. Controller: public static Result loadCreateArtigo(){ return ok(request().host()+request().path()); } JavaScript: $.SmartMessageBox({ buttons...
asked by 29.07.2015 / 11:36
1
answer

convert content to input

I use a script in javascript to convert everything I type, from input to uppercase. But I have a specific input where I can not change its content. How can I do this? Follow the code: // Converte minusculas em maiusculas $(documen...
asked by 16.06.2016 / 21:56
1
answer

Capture and change the value of a column of its respective row in a table with numerous rows

Futuredatafromthetablewillbeshownthroughthecodebelow:<?phpwhile($linhaAssociativa=mysqli_fetch_assoc($query)){?><tr><tdclass="cmenu2"><?php echo $linhaAssociativa["CommonName"]; ?></td> <td><?php echo $l...
asked by 16.06.2016 / 04:09
1
answer

CKEditor font size

I'm using CKEditor and would like to customize my editor. When opened, by default it would already come with Arial font size 20 for example. In my searches (between several others , and other , and other , etc ...), I found ways to chan...
asked by 06.10.2015 / 15:23
1
answer

CakePHP submit form using JQuery?

I have a form in CakePHP and I want to submit this form using JQuery. I'm looking for a solution on how to do this without using CakePHP's JsHelper, I want to use only the same JQuery native. How to do this? I'm trying to do this. //ad...
asked by 09.10.2015 / 16:28
1
answer

How do I get an element via jquery in an object created in the bootbox.js plugin?

I have an object created inside a container-fluid div. I create the object Bootbox with no problem whatsoever to generate a modal confirm (code below). $("div.container-fluid").on("click", "button#geraModal", function() { bootbox.confi...
asked by 05.10.2015 / 12:59
1
answer

How to do timed reading in the database?

Good evening, I am here trying to send a value to a php file, and receive response from that same file, this automatically. But something is going wrong. I am a beginner in this area and I have some difficulty. Can someone please help me?...
asked by 03.11.2015 / 00:40
4
answers

Validate Javascript fields

I have several fields and others in display:none (In advance I notice that I have already been in the stack and I even found a similar question but could not get the expected result.) I need to validate them, however I need to enable a...
asked by 03.11.2015 / 03:59
1
answer

How to create a default margin in the ckeditor?

I started using CKEditor And when initializing it, it comes as follows: And I would like it to come with a standard margin (I want it to look like A4 sheet) How could you make it come with a spacing?     
asked by 12.02.2015 / 21:07