Questions tagged as 'jquery'

1
answer

I can not enable the disabled state in a form: checkbox

I'm working with Spring webflow and I have a form: switchbox checkbox element in my jsp that by default must be disabled. I'm going crazy trying to enable it using JQuery when a condition is met. <form:checkbox id="anId" path="" value="" cs...
asked by 25.01.2017 / 13:22
1
answer

Query in controller from ID with jquery

I am trying to extract data from a table from an ID and display it with a datatable. By jquery, I have the following function: var info = function(tbody, table){ $(tbody).on("click","a[id=ButtonMas]", function(){ if(table.row(this)....
asked by 11.06.2017 / 23:50
1
answer

Control of active checkboxes (checked) with jquery?

I have several options in a form of checkbox and a <textarea> I need at least one of them not to be empty, for example there may be only a checkbox :checked or none in the case of that the textarea is n...
asked by 30.12.2016 / 10:08
2
answers

You can create a max lenght for span, div or p

Hello, this is my question: I know there is an attribute for input and text-area with which the number of characters is manipulated as maxlenght , my question is if this can be done with span , div or any other...
asked by 18.01.2017 / 23:21
1
answer

Retrieve value of an array of json array with jquery

I have the following data that is returned in json to recover the ones with jquery $response = array($query_license,$query_estate); if ($this->request->is('ajax')) { echo json_encode($response,TRUE); die(); } t...
asked by 20.01.2017 / 18:07
1
answer

Convert whole to monetary value in jQuery datatables

I found this function in DataTables : render: $.fn.dataTable.render.number( ',', '.', 0, '$' ) for which I have tried several ways to inject that bit of code, but I have not found the form. HTML: <table id="tabla_salario" cl...
asked by 19.01.2017 / 13:44
1
answer

For cycle for child rows datatables

I have this example taken from Datatables which I require, although this example when pressing a certain button shows a little more information than what is in that row. But in my case I require that with the id of that row make a shi...
asked by 20.01.2017 / 17:54
2
answers

When I refresh my web page, the drop-down menus are dislodged and after 2 seconds they are placed well

At the time of refreshing my page the foldouts are dislodged but after a couple of seconds they are placed in their place. Is it possible that it's because of Jquery? or because when doing requests with php when reloading the page, this few seco...
asked by 19.12.2016 / 11:39
1
answer

When interacting, change the style of a web and store it [duplicated]

I am developing a website with php, javascript, html5 and css3. I want to change the color according to what the user chooses in a developed configuration section and that those changes are stored How could I do it?     
asked by 29.12.2016 / 09:35
1
answer

How to make validations in datatables?

I have found out on the official page of Data Tables how to do validations, but it seems very complex to me as for what I am doing. The validation that I require is a bit similar to that done with PHP but in this case it is in a for cycl...
asked by 01.02.2017 / 14:54