$("my_select").dblclick() and $("my_select > option").dblclick()
doesn't work in OPERA.
Using latest jquery, Opera 9.02
Use thickbox http://jquery.com/demo/thickbox/ ;)
function(json){
$('#region').empty();
for(var i = 0; i < json.length; i++)
{
$('#region').append('' +
json[i].name + '');
}
$('#region').prepend(''+defaultSelectRegion +'').removeAttr('disabled');
});
Above is a code generating a select options from json data retrieved
from ajax request.
function getRegions(country, div_id){
var i;
$.getJSON("tools/getregions.php",
{ ctr: country },
function(json){
for(var i = 0; i < json.length; i++)
{
opts = "";
for(var j = 0; j < json
4 matches
Mail list logo