var gender = $('input:radio[name=plgender]:checked').val();
Monday, April 4, 2011
Jquery Radio button/combo value check
var gender = $('#hidprgender').val();
$('input:radio[name=plgender]')[gender].checked = true;
Combo box
$("select#plMonth option[value="+month+"]").attr("selected", "selected");
$("select#plDate option[value="+date+"]").attr("selected", "selected");
$("select#plYear option[value="+year+"]").attr("selected", "selected");
$('input:radio[name=plgender]')[gender].checked = true;
Combo box
$("select#plMonth option[value="+month+"]").attr("selected", "selected");
$("select#plDate option[value="+date+"]").attr("selected", "selected");
$("select#plYear option[value="+year+"]").attr("selected", "selected");
Application.ini
Accessing application.ini variable
; Users themes settings
system.theme.defaultid = 38
----------------------
$configs = Zaah::getSystemConfig('theme');
echo $themeid = $configs['defaultid'];
---------------------
; Users themes settings
system.theme.defaultid = 38
----------------------
$configs = Zaah::getSystemConfig('theme');
echo $themeid = $configs['defaultid'];
---------------------
Subscribe to:
Posts (Atom)