Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Advertising

advertising

related pastes to tag 'prototype'

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