SHARE
TWEET

Untitled

a guest Jun 24th, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. `$(document).ready(function() {
  2.     $('select.cars').bind(function(){
  3.     $('.SubmitButton').addClass('ButtonColor');
  4.     });
  5.     });`
  6.      
  7. `<select class="cars">
  8.       <option value="ferrari">Ferrari</option>
  9.       <option value="lamborghini">Lamborghini</option>
  10.       <option value="porsche">Porsche</option>
  11.     </select>
  12.       <input class="SubmitButton" type="submit" value="Go to Car">`
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top