0

I would like to transform this:

<input value="Étape 1/2" name="submitForm" type="submit" class="submit">

to this:

<input value="Étape suivante" name="submitForm" type="submit" class="btn btn-large btn-primary formdevis">
peterh
  • 1
  • 15
  • 76
  • 99
Laurent
  • 131
  • 1
  • 11
  • 1
    you can't change in third-party iframe elements :- http://stackoverflow.com/questions/39859634/how-to-override-css-class-set-in-iframe – Anant Kumar Singh May 14 '17 at 08:27

1 Answers1

1

Try this: https://jsfiddle.net/KlaussU/eh4wabj7/1/

<button onclick="change();">Change</button>
<input value="Étape 1/2" name="submitForm" type="submit" class="submit">
<script>
  function change() {
    $(".submit").attr("value", "Étape suivante");
    $(".submit").addClass("btn btn-large btn-primary formdevis");
      $(".submit").removeClass("submit");
  }
</script>
KlaussU
  • 91
  • 1
  • 1
  • 5