Advertising
advertising
related pastes to tag 'prototype'
- 756448 - Prototype.js RULEZ!: javascript prototype
-
- /**
- *
- * checkAllGeos
- *
- * Toggle all Geo/Language checkboxes on or off. Uses prototype.js
- *
- * @author Timothy Lorens
- * @since 09/19/2007
- 721665 - ajax request: prototype ajax
-
- my prototype script:
- <script type="text/javascript">
- function auth() {
- alert('auth');
- new Ajax.Request(
- 'http://82.229.245.231/pnumb.com/auth.php',
- {
- 679431 - Behaviour.register help: javascript benn bnolan behaviour prototype
-
- Behaviour.register({
- '#SomeSelectElementsID': {
- onchange: function() { // Called when the element is changed
- if(this.value == 'the-value') {
- $('#TheElementToDisplay').style.display = ''; // Don't use 'block' as some browsers don't like it
- } else {
- $('#TheElementToDisplay').style.display = 'none'; // Hides the element
- }