DrupalBin
Submit Code
About
Recent Posts
Code
1 hour 18 min
ago
Code
13 hours 18 min
ago
scrollbox.js
17 hours 38 min
ago
imagefield_gallery_scrollbox.module
17 hours 39 min
ago
more
Tags
CCK
drupal
fapi
javascript
jquery
menu
module
Panels
simpletest
test
theme
views
more tags
User login
Log in using OpenID:
What is OpenID?
Username:
*
Password:
*
Create new account
Request new password
Log in using OpenID
Cancel OpenID login
Home
jquery
Fix for Edit a hidden value with jQuery and have it show up in $form_values (D5)
June 19, 2008 - 11:03am — Anonymous
<?php
/**
* This won't work when you first submit it... the hider will still show 3.
* Change #value to #default_value on the hidden field for it to work.
*/
function
test_form
(
)
{
fapi
jquery
Read more
Edit a hidden value with jQuery and have it show up in $form_values (D5)
June 19, 2008 - 11:00am — Anonymous
<?php
function
test_form
(
)
{
$form
[
'hider'
]
=
array
(
'#type'
=>
'hidden'
,
'#value'
=>
3
)
;
$form
[
'submit'
]
=
array
(
'#type'
=>
'submit'
,
'#value'
=>
'Submit'
)
;
return
$form
;
}
fapi
jquery
Read more
Overriding autocomplete functions
April 15, 2008 - 7:54am — Anonymous
var
myinput = $
(
'#edit-name1'
)
.
attr
(
'autocomplete'
,
'OFF'
)
[
0
]
;
var
db =
new
Drupal.
ACDB
(
'http://localhost/myproject/?q=my/autocomplete'
)
;
var
x =
new
Drupal.
jsAC
(
myinput, db
)
;
autocomplete
jquery
Read more
jQuery Form Plugin's POST is incorrect
April 9, 2008 - 6:43am —
Wim Leers
// $_POST after browser form submit:
Array
(
[title] =>
[taxonomy] => Array
(
[1] => Array
(
[hierarchical_select] => Array
hierarchical-select
jquery
Read more
will this work with old jquery
March 12, 2008 - 1:04pm — Anonymous
<style type=
"text/css"
>
*
{
padding:
0
;
margin:
0
;
}
div
{
width: 40em;
overflow: hidden;
}
ul
{
list-style: none;
width:
200
%;
}
ul li
{
jquery
Read more
jquery xmlrpc plugin
March 11, 2008 - 3:15pm — Anonymous
window.
jQuery
= window.
jQuery
||
{
}
;
window.
jQuery
.
fn
= window.
jQuery
.
fn
||
{
}
;
jQuery.
fn
.
rpc
=
function
(
url, dataType, onLoadCallback, version
)
{
version = version ||
"1.0"
;
jquery
xmlrpc
Read more
juery
March 8, 2008 - 4:39pm — Anonymous
/**
* @author dereine
*/
$
(
document
)
.
ready
(
function
(
)
{
$
(
'form#contact-mail-page'
)
.
submit
(
function
(
)
{
if
(
$
(
'form#contact-mail-page input#edit-name'
)
.
val
(
)
==
""
)
{
drupal
jquery
Read more
Fix for Form Input Example Plugin
February 27, 2008 - 9:28pm —
Rob Loach
/*
* jQuery Example Plugin 1.2.1
* Populate form inputs with example text that disappears on focus.
*
* e.g.
* $('input#name').example('Bob Smith');
javascript
jquery
Read more
Form Input Example Plugin
February 27, 2008 - 9:27pm —
Rob Loach
/*
* jQuery Example Plugin 1.2.1
* Populate form inputs with example text that disappears on focus.
*
* e.g.
* $('input#name').example('Bob Smith');
javascript
jquery
Read more
Fix for Swap out javascript (jQuery) files
February 2, 2008 - 1:55am — Anonymous
/*
From a Lullabot Workshop:
javascript
jquery
theming
Read more
1
2
next ›
last »