Update DIV settings via on page form submission?

Hello -

Is there a way to update a DIV’s settings via user form submission?

I.E.

  1. DIV has a border of 5px.
  2. User submits “border-style: none;” via on page form.
  3. Page updates with DIV displaying no border.

Thanks,
Kyle