change value of an element jquery code example Example: jquery change value $('#opacity').val(100); $('#opacity').val("hello");