当前位置: 首页>>代码示例>>PHP>>正文


PHP jquery_get函数代码示例

本文整理汇总了PHP中jquery_get函数的典型用法代码示例。如果您正苦于以下问题:PHP jquery_get函数的具体用法?PHP jquery_get怎么用?PHP jquery_get使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了jquery_get函数的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: foreach

        <option value="0">NINGUNO</option>
    </select>
<?php 
} else {
    ?>
    <select name="dat_rde_estudiante[departamento_nac_id]" id="dat_rde_estudiante_departamento_nac_id" style="font-family: Arial;font-size: 12px;">
        <option value="-999">[Seleccionar]</option>
        <?php 
    foreach ($departamentos as $departamento) {
        ?>
        <option value="<?php 
        echo $departamento->getIdDepartamento();
        ?>
"><?php 
        echo $departamento->getDescDepartamento();
        ?>
</option>
        <?php 
    }
    ?>
    </select>
    <?php 
    echo jquery_ajax(array('listener' => array('selector' => '#dat_rde_estudiante_departamento_nac_id', 'event' => 'change'), 'url' => url_for('adultoshumanisticaextemporaneosinrude/provincia'), 'success' => like_function("\$('#provincia').html(data)", 'data'), 'data' => "'departamento_id=' + " . jquery_get('this', 'val'), 'type' => 'POST'));
    ?>

            <?php 
    echo jquery_ajax_event('#dat_rde_estudiante_departamento_nac_id', 'ajaxSuccess', like_function('$("#imagen").css("display","none")', 'event,request,settings'));
    ?>
            <?php 
    echo jquery_ajax_event('#dat_rde_estudiante_departamento_nac_id', 'ajaxStart', like_function('$("#imagen").css("display","block")', 'event,request,settings'));
}
开发者ID:remberto,项目名称:Alternativa,代码行数:31,代码来源:departamentoSuccess.php

示例2: use_helper

<?php

use_helper('ysJQueryRevolutions');
use_helper('ysJQueryUIDialog');
?>
<select id="nivel_id" style="font-family: Arial;font-size: 12px;width: 350px;" name="dat_rde_estudiante[nivel_id]">
    <option value="-999">[Seleccionar]</option>
    <?php 
foreach ($ciclos as $ciclo) {
    ?>
        <option value="<?php 
    echo $ciclo->getCicloId();
    ?>
"><?php 
    echo $ciclo->getCicloId() . ' - ' . Doctrine::getTable('ClaCiclo')->find(array($modalidad, $ciclo->getCicloId()))->getDescCiclo();
    ?>
</option>
    <?php 
}
?>
</select>
<?php 
echo jquery_ajax(array('listener' => array('selector' => '#nivel_id', 'event' => 'change'), 'url' => url_for('ins_con_rude/ciclo'), 'success' => like_function("\$('#ciclo').html(data)", 'data'), 'data' => "'nivel_id='+" . jquery_get('this', 'val') . "+'&subsistema_id='+document.getElementById('subsistema_id').value+'&ue_id='+document.getElementById('unidad_educativa').value+'&periodo_id='+document.getElementById('periodo_id').value+'&subcea_id='+document.getElementById('subcea_id').value+'&modalidad_id='+document.getElementById('modalidad_id').value", 'type' => 'POST'));
?>

<?php 
echo jquery_ajax_event('#nivel_id', 'ajaxSuccess', like_function('$("#imagen").css("display","none")', 'event,request,settings'));
echo jquery_ajax_event('#nivel_id', 'ajaxStart', like_function('$("#imagen").css("display","block")', 'event,request,settings'));
开发者ID:remberto,项目名称:Alternativa,代码行数:28,代码来源:nivelSuccess.php

示例3: use_helper

<?php

use_helper('ysJQueryRevolutions');
use_helper('ysJQueryUIDialog');
?>
<select id="grado_id" style="font-family: Arial;font-size: 12px;width: 200px;" name="dat_rde_estudiante[grado_id]">
    <option value="-999">[Seleccionar]</option>
    <?php 
foreach ($grados as $grado) {
    ?>
        <option value="<?php 
    echo $grado->getGradoId();
    ?>
"><?php 
    echo $grado->getGradoId() . ' - ' . Doctrine::getTable('ClaGrado')->find(array($nivel, $ciclo, $grado->getGradoId()))->getDescGrado();
    ?>
</option>
    <?php 
}
?>
</select>
<?php 
echo jquery_ajax(array('listener' => array('selector' => '#grado_id', 'event' => 'change'), 'url' => url_for('adultoshumanisticainscripcionanterior/paralelo'), 'success' => like_function("\$('#paralelo').html(data)", 'data'), 'data' => "'grado_id='+" . jquery_get('this', 'val') . "+'&ue_id='+document.getElementById('unidad_educativa').value+'&nivel_id='+document.getElementById('nivel_id').value+'&periodo_id='+document.getElementById('periodo_id').value+'&subcea_id='+document.getElementById('subcea_id').value+'&modalidad_id='+document.getElementById('modalidad_id').value+'&gestion_id='+document.getElementById('gestion_id').value", 'type' => 'POST'));
?>

<?php 
echo jquery_ajax_event('#grado_id', 'ajaxSuccess', like_function('$("#imagen").css("display","none")', 'event,request,settings'));
echo jquery_ajax_event('#grado_id', 'ajaxStart', like_function('$("#imagen").css("display","block")', 'event,request,settings'));
开发者ID:remberto,项目名称:Alternativa,代码行数:28,代码来源:cicloSuccess.php

示例4: foreach

<select style="font-family: Arial;font-size: 12px;" id="unidad_educativa">
    <option value="-999">[Seleccionar]</option>
    <?php 
foreach ($unidades as $unidad) {
    ?>
    <option value="<?php 
    echo $unidad->getCodUe();
    ?>
"><?php 
    echo $unidad->getCodUe() . ' - ' . $unidad->getDescUe();
    ?>
</option>
    <?php 
}
?>
</select>
<?php 
echo jquery_ajax(array('listener' => array('selector' => '#unidad_educativa', 'event' => 'change'), 'url' => url_for('adultoshumanisticacrear/subcentro'), 'success' => like_function("\$('#subcentro').html(data)", 'data'), 'data' => "'ue_id=' + " . jquery_get('this', 'val') . "+'&periodo_id='+document.getElementById('periodo_id').value", 'type' => 'POST'));
?>

<?php 
echo jquery_ajax_event('#unidad_educativa', 'ajaxSuccess', like_function('$("#imagen").css("display","none")', 'event,request,settings'));
echo jquery_ajax_event('#unidad_educativa', 'ajaxStart', like_function('$("#imagen").css("display","block")', 'event,request,settings'));
开发者ID:remberto,项目名称:Alternativa,代码行数:23,代码来源:_combounidadeducativa.php

示例5: jquery_ajax

            <td class="caption">Pais(*)</td>
            <td class="caption">Departamento(*)</td>
            <td class="caption">Provincia(*)</td>
            <td class="caption">Localidad</td>
        </tr>
        <tr>
            <td class="caption"><?php 
echo $estudiante['fecha_nacimiento']->render();
?>
</td>
            <td class="caption"><?php 
echo $estudiante['pais_nac_id']->render();
?>
</td>
            <?php 
echo jquery_ajax(array('listener' => array('selector' => '#dat_rde_estudiante_pais_nac_id', 'event' => 'change'), 'url' => url_for('adultoshumanisticainscripcionanterior/departamento'), 'success' => like_function("\$('#departamento').html(data)", 'data'), 'data' => "'pais_id=' + " . jquery_get('this', 'val'), 'condition' => '$("#dat_rde_estudiante_pais_nac_id").attr("value") == 1', 'onFailureCondition' => "document.getElementById('dat_rde_estudiante_departamento_nac_id').disabled = true;\n                                     document.getElementById('dat_rde_estudiante_departamento_nac_id').value = -999;\n                                     document.getElementById('dat_rde_estudiante_provincia_nac_id').disabled = true;\n                                     document.getElementById('dat_rde_estudiante_provincia_nac_id').value = -999;", 'type' => 'POST'));
?>

            <?php 
echo jquery_ajax_event('#dat_rde_estudiante_pais_nac_id', 'ajaxSuccess', like_function('$("#imagen").css("display","none")', 'event,request,settings'));
?>
            <?php 
echo jquery_ajax_event('#dat_rde_estudiante_pais_nac_id', 'ajaxStart', like_function('$("#imagen").css("display","block")', 'event,request,settings'));
?>
            <td class="caption"><div id="departamento"><?php 
$estudiante->setDefault('departamento_nac_id', '-999');
echo $estudiante['departamento_nac_id']->render();
?>
</div></td>
            <td class="caption"><div id="provincia"><?php 
echo $estudiante['provincia_nac_id']->render();
开发者ID:remberto,项目名称:Alternativa,代码行数:31,代码来源:_formularioestudiante.php

示例6: use_helper

<?php

use_helper('ysJQueryRevolutions');
use_helper('ysJQueryUIDialog');
?>
<select id="nivel_id" style="font-family: Arial;font-size: 12px;width: 300px;">
    <option value="-999">[Seleccionar]</option>
    <?php 
foreach ($niveles as $nivel) {
    ?>
        <option value="<?php 
    echo $nivel->getIdCiclo();
    ?>
"><?php 
    echo $nivel->getIdCiclo() . ' - ' . $nivel->getDescCiclo();
    ?>
</option>
    <?php 
}
?>
</select>
<?php 
echo jquery_ajax(array('listener' => array('selector' => '#nivel_id', 'event' => 'change'), 'url' => url_for('especialcrear/grado'), 'success' => like_function("\$('#grado').html(data)", 'data'), 'data' => "'nivel_id='+" . jquery_get('this', 'val'), 'type' => 'POST'));
?>

<?php 
echo jquery_ajax_event('#nivel_id', 'ajaxSuccess', like_function('$("#imagen").css("display","none")', 'event,request,settings'));
echo jquery_ajax_event('#nivel_id', 'ajaxStart', like_function('$("#imagen").css("display","block")', 'event,request,settings'));
开发者ID:remberto,项目名称:Alternativa,代码行数:28,代码来源:_nivel.php

示例7: use_helper

<?php

use_helper('ysJQueryRevolutions');
use_helper('ysJQueryUIDialog');
?>

<select id="paralelo_id" style="font-family: Arial;font-size: 12px;" name="dat_rde_estudiante[paralelo]">
    <option value="-999">[Seleccionar]</option>
    <?php 
foreach ($paralelos as $paralelo) {
    ?>
        <option value="<?php 
    echo $paralelo->getParalelo();
    ?>
"><?php 
    echo $paralelo->getParalelo();
    ?>
</option>
    <?php 
}
?>
</select>

<?php 
echo jquery_ajax(array('listener' => array('selector' => '#paralelo_id', 'event' => 'change'), 'url' => url_for('especialextemporanea/turno'), 'success' => like_function("\$('#turno').html(data)", 'data'), 'data' => "'paralelo='+" . jquery_get('this', 'val') . "+'&ue_id='+document.getElementById('unidad_educativa').value+'&nivel_id='+document.getElementById('nivel_id').value+'&grado_id=' + document.getElementById('grado_id').value+'&discapacidad_id=' + document.getElementById('discapacidad_id').value", 'type' => 'POST'));
?>

<?php 
echo jquery_ajax_event('#paralelo_id', 'ajaxSuccess', like_function('$("#imagen").css("display","none")', 'event,request,settings'));
echo jquery_ajax_event('#paralelo_id', 'ajaxStart', like_function('$("#imagen").css("display","block")', 'event,request,settings'));
开发者ID:remberto,项目名称:Alternativa,代码行数:30,代码来源:paraleloSuccess.php

示例8: foreach

<select style="font-family: Arial;font-size: 12px;" id="unidad_educativa" name="dat_rde_estudiante[unidad_educativa]">
    <option value="-999">[Seleccionar]</option>
    <?php 
foreach ($unidades as $unidad) {
    ?>
    <option value="<?php 
    echo $unidad->getCodUe();
    ?>
"><?php 
    echo $unidad->getCodUe() . ' - ' . $unidad->getDescUe();
    ?>
</option>
    <?php 
}
?>
</select>
<?php 
echo jquery_ajax(array('listener' => array('selector' => '#unidad_educativa', 'event' => 'change'), 'url' => url_for('especialextemporanea/nivel'), 'success' => like_function("\$('#nivel').html(data)", 'data'), 'data' => "'ue_id=' + " . jquery_get('this', 'val'), 'type' => 'POST'));
echo jquery_ajax_event('#unidad_educativa', 'ajaxSuccess', like_function('$("#imagen").css("display","none")', 'event,request,settings'));
echo jquery_ajax_event('#unidad_educativa', 'ajaxStart', like_function('$("#imagen").css("display","block")', 'event,request,settings'));
开发者ID:remberto,项目名称:Alternativa,代码行数:20,代码来源:_combounidadeducativa.php

示例9: use_helper

use_helper('ysJQueryRevolutions');
use_helper('ysJQueryUIDialog');
?>
<select id="modalidad_id" style="font-family: Arial;font-size: 12px;width:300px;" name="dat_rde_estudiante[modalidad_id]">
    <option value="-999">[Seleccionar]</option>
    <?php 
foreach ($modalidades as $modalidad) {
    ?>
        <option value="<?php 
    echo $modalidad->getNivelId();
    ?>
"><?php 
    echo $modalidad->getNivelId() . ' - ' . Doctrine::getTable('ClaNivel')->find($modalidad->getNivelId())->getDescNivel();
    ?>
</option>
    <?php 
}
?>
</select>

<?php 
echo jquery_ajax(array('listener' => array('selector' => '#modalidad_id', 'event' => 'change'), 'url' => url_for('adultostecnicaextemporanea/nivel'), 'success' => like_function("\$('#nivel').html(data)", 'data'), 'data' => "'modalidad_id='+" . jquery_get('this', 'val') . "+'&ue_id='+document.getElementById('unidad_educativa').value+'&periodo_id='+document.getElementById('periodo_id').value+'&subcea_id='+document.getElementById('subcea_id').value", 'type' => 'POST'));
?>

<?php 
echo jquery_ajax_event('#unidad_educativa', 'ajaxSuccess', like_function('$("#imagen").css("display","none")', 'event,request,settings'));
echo jquery_ajax_event('#unidad_educativa', 'ajaxStart', like_function('$("#imagen").css("display","block")', 'event,request,settings'));
?>

开发者ID:remberto,项目名称:Alternativa,代码行数:28,代码来源:modalidadSuccess.php

示例10: foreach

                    <?php 
foreach (Doctrine::getTable('ClaPeriodo')->findAll() as $value) {
    ?>
                            <option value="<?php 
    echo $value->getIdPeriodo();
    ?>
"><?php 
    echo $value->getPeriodo();
    ?>
</option>
                    <?php 
}
?>
                    </select>
                    <?php 
echo jquery_ajax(array('listener' => array('selector' => '#periodo_id', 'event' => 'change'), 'url' => url_for('adultoshumanisticaextemporaneosinrude/periodo'), 'success' => like_function("\$('#unidad').html(data)", 'data'), 'data' => "'periodo_id=' + " . jquery_get('this', 'val'), 'type' => 'POST'));
?>
                    <?php 
echo jquery_ajax_event('#periodo_id', 'ajaxSuccess', like_function('$("#imagen").css("display","none")', 'event,request,settings'));
?>
                    <?php 
echo jquery_ajax_event('#periodo_id', 'ajaxStart', like_function('$("#imagen").css("display","block")', 'event,request,settings'));
?>
            </td>
            <td>
                <div id="unidad">
                <select style="font-family: Arial; font-size: 12px;" id="unidad_educativa">
                    <option value="-999">[Seleccionar]</option>
                </select>
                </div>
            </td>
开发者ID:remberto,项目名称:Alternativa,代码行数:31,代码来源:_datosunidadeducativa.php

示例11: use_helper

<?php

use_helper('ysJQueryRevolutions');
use_helper('ysJQueryUIDialog');
?>
<select id="grado_id" style="font-family: Arial;font-size: 12px;">
    <option value="-999">[-----]</option>
    <?php 
foreach ($grados as $grado) {
    ?>
        <option value="<?php 
    echo $grado->getGradoId();
    ?>
"><?php 
    echo $grado->getGradoId() . ' - ' . Doctrine::getTable('ClaGrado')->find(array($nivel, $grado->getCicloId(), $grado->getGradoId()))->getDescGrado();
    ?>
</option>
    <?php 
}
?>
</select>
<?php 
echo jquery_ajax(array('listener' => array('selector' => '#grado_id', 'event' => 'change'), 'url' => url_for('modificarcurso/paralelo'), 'success' => like_function("\$('#paralelo').html(data)", 'data'), 'data' => "'grado_id='+" . jquery_get('this', 'val') . "+'&ue_id='+document.getElementById('unidad_educativa').value+'&nivel_id='+document.getElementById('nivel_id').value", 'type' => 'POST'));
?>

<?php 
echo jquery_ajax_event('#grado_id', 'ajaxSuccess', like_function('$("#imagen").css("display","none")', 'event,request,settings'));
echo jquery_ajax_event('#grado_id', 'ajaxStart', like_function('$("#imagen").css("display","block")', 'event,request,settings'));
开发者ID:remberto,项目名称:Alternativa,代码行数:28,代码来源:gradoSuccess.php

示例12: use_helper

use_helper('ysJQueryRevolutions');
use_helper('ysJQueryAutocomplete');
use_helper('ysJQueryUIDialog');
use_helper('ysJQueryUICore');
?>

<select style="font-family: Arial;font-size: 12px;" id="unidad_educativa">
    <option value="-999">[-----------]</option>
    <?php 
foreach ($unidades as $unidad) {
    ?>
    <option value="<?php 
    echo $unidad->getCodUe();
    ?>
"><?php 
    echo $unidad->getCodUe() . ' - ' . $unidad->getDescUe();
    ?>
</option>
    <?php 
}
?>
</select>

<?php 
echo jquery_ajax(array('listener' => array('selector' => '#unidad_educativa', 'event' => 'change'), 'url' => url_for('adultoshumanisticainscripcion/subcentro'), 'success' => like_function("\$('#subcentro').html(data)", 'data'), 'data' => "'ue_id=' + " . jquery_get('this', 'val'), 'type' => 'POST'));
?>


<?php 
echo jquery_ajax_event('#unidad_educativa', 'ajaxSuccess', like_function('$("#imagen").css("display","none")', 'event,request,settings'));
echo jquery_ajax_event('#unidad_educativa', 'ajaxStart', like_function('$("#imagen").css("display","block")', 'event,request,settings'));
开发者ID:remberto,项目名称:Alternativa,代码行数:31,代码来源:_combounidadeducativa.php

示例13: add_jquery_support

  <option>3.- Option</option>
  <option>4.- Option</option>
</select>

<?php 
echo add_jquery_support('#cboList', 'change', like_function("alert('you chose: ' +" . jquery_get('this', 'val') . ');'));
?>

<br>
<br>
<hr>
<h3>Get and Set attributes - example</h3>
<input type="text" id="txtTo">
<input type="text" id="txtFrom">
<?php 
echo add_jquery_support('#txtTo', 'keyup', like_function(jquery_set('#txtFrom', 'val', jquery_get('#txtTo', 'val'))));
?>
<br>
<hr>
<h3>Set attributes (array) - example</h3>
<input type="button" value="Set Attributes" id="btnAddAttr">
<img id="imgToSet" alt="" src=""/>
<?php 
echo add_jquery_support('#btnAddAttr', 'click', like_function(jquery_set('#imgToSet', 'attr', array('src' => "http://static.jquery.com/files/rocker/images/logo_jquery_215x53.gif", 'title' => "jQuery (Connect to internet to see the image)", 'style' => 'background-color:black', 'alt' => "jQuery Logo"))));
?>
<br>
<hr>

<h3>DoubleClick- example</h3>

<input type="button" value="DoubleClick me" id="btnDblClick">
开发者ID:alexhandzhiev,项目名称:sifact,代码行数:31,代码来源:eventsExampleSuccess.php

示例14: foreach

                    <?php 
foreach (Doctrine::getTable('ClaPeriodo')->findAll() as $value) {
    ?>
                            <option value="<?php 
    echo $value->getIdPeriodo();
    ?>
"><?php 
    echo $value->getPeriodo();
    ?>
</option>
                    <?php 
}
?>
                    </select>
                    <?php 
echo jquery_ajax(array('listener' => array('selector' => '#periodo_id', 'event' => 'change'), 'url' => url_for('adultoshumanisticainscripcionanterior/periodo'), 'success' => like_function("\$('#unidad').html(data)", 'data'), 'data' => "'periodo_id=' + " . jquery_get('this', 'val') . "+'&gestion_id='+document.getElementById('gestion_id').value", 'type' => 'POST'));
?>
                    <?php 
echo jquery_ajax_event('#periodo_id', 'ajaxSuccess', like_function('$("#imagen").css("display","none")', 'event,request,settings'));
?>
                    <?php 
echo jquery_ajax_event('#periodo_id', 'ajaxStart', like_function('$("#imagen").css("display","block")', 'event,request,settings'));
?>
            </td>
            <td>
                <div id="unidad">
                <select style="font-family: Arial; font-size: 12px;" id="unidad_educativa">
                    <option value="-999">[Seleccionar]</option>
                </select>
                </div>
            </td>
开发者ID:remberto,项目名称:Alternativa,代码行数:31,代码来源:_datosunidadeducativa.php


注:本文中的jquery_get函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。