Pregunta

How can we manipulate elements value in browser forms.

I have a signup form and i want to manipulate the hidden post data while submitting the form...please help me.

¿Fue útil?

Solución

You can use the plugin 'firebug' in your browser . In this plugin you can get source code by which you can manipulate the elements of your sign in form and also you can add elements view hidden elements such as authenticity token and other hidden values and also you can change the data of your form fields. For more details hit this url:

http://getfirebug.com/

Otros consejos

If you want to manipulate them WITHIN the browser, then open your browser's Developer Tools, as @Aristona suggested:

If you're using Google Chrome you can click the right button of the mouse over an input and then "Inspect Element".

If you're using Firefox you can add the Firebug plugin, that let's you inspect the DOM.

With IE use the Developer Toolbar.
Opera has a similar toolbar, but you get the idea.

Press F12 on your browser so you can change the form data.

You don't need any other dependencies such as Firebug. Every major browser has a builtin web inspector.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top