Por: Manuel Velasco
manuv3lasco@gmail.com
- Una libreria de Java Script.
- Hace la escritura JS mucho mas fácil.
- Hace la escritura multi-navegador compatible con JavaScript mucho más fácil.
- Hace creación de interactividad del lado del cliente mucho más fácil.
- Hace mucho más fácil AJAX.
<html>
<head>
<script type=“javascript” src=“jquery.js”></script>
<script type=“javascript”>
//your jquery code goes here. go crazy!
</script>
</head>
<body>
</body>
</html>Reference: http://drupal.org/node/171213
mymodule_init() {
$path = drupal_get_path(‘module’, ‘mymodule’);
drupal_add_js($path . '/mymodule.js');
}function mymodule_init() {
$path = drupal_get_path('module', 'mymodule');
drupal_add_js($path . '/mymodule.js');
}