I'm trying to make a GET request with ajax and PHP, but I always get the following error:
text status=:parsererror, error thrown:=SyntaxError: Unexpected token < in JSON at position 0
My ajax request is as follows:
$.ajax({...
I have a form with the following structure:
<input type="text" required="" />
<select required="required">
<option disabled="disabled" selected="selected">Selecciona un ID...</option>
</select>
<input type="t...
I want to update the data of a form using AJAX (jQuery 1.10.2) and the answer goes through the error.
HTML
<form name="formulario">
<p id="identificador">9</p>
<input id="opcion-1" type="radio" name="opcion" value...
How can I get list ids dynamically, for example ..
<li>
<a href="#">lista1</a>
</li>
<li>
<a href="#" onclick="ocultar;">lista2</a>
</li>
<li>
<a href="#">lista3</a>
</...
I have this code to add a class hidden to a paragraph
But I have 3 input's and doing the same for each input is a bit uncomfortable, I tried to do it with each , but I was not successful.
The Inputs are the following:...
I have a group of checkbox , of which you can mark any of these, however now I need two of them to only allow me to mark one ..
<div class="checkbox">
<label>
<input type="checkbox" name="permisos" value="1"...
Approach
I would like to make a div that would be totally unmodifiable , preferably, inseleccionable and unfocusable even if it is within an element that have the contentEditable attribute enabled.
Note: I can not choose...
I have found many forums and texts where they explain it in detail, the problem is that nothing works for me and I have tried it in many ways.
I leave you the JSON and how I try to read it without having different results from:
application...
How can I condition PHP 5 (or jquery) if I am within a range of dates?
For example I want to condition the range of dates
If it is within the range send a message "Within Period"
Otherwise "Out of Period"
The fact is that the date I want to v...
You see, I have a menu on a one-page site, in which when you click on a menu item you go down to the indicated section and the selected menu item is underlined, but I need to make scroll and be in That section also underlines the element,...