First of all
congratulations
for
the
great
work
that
you do
here
.!!!
I have a question on how to find some records obtained from the database (MySQL) through a webserver, show them in an accordion (Collapsible).
My
code
example:
- <div data-role="content">
<form id="formcate" name="formcate">
<div data-role="fieldcontain">
<label for="refCate" class="select">Categoría:</label>
<select name="refCate" id="refCate">
</select>
<input type="button" class="boton" value="Ver" id="boton" />
</div>
</form>
<div id="bloque"></div>
- </div>
- ...
- ...
dataType: 'jsonp',
jsonp: 'jsoncallback',
crossDomain: true,
timeout: 10000,
success: function(data, status){
$.each(data, function(i, item){
var datosresultados ='<div data-role="collapsible"><h3>'+item.strTitulo+' <span class="categoria">'+item.strCategoria+
.........
........
$('#bloque').append(datosresultados);
$('#bloque').trigger('create');
Thank you and I hope that I can help or guide me.