How to get the id of an input field

How to get the id of an input field

How to return the id part of an input field

This is very simple to return it is simply

we have an input field below whose id is test. If you click it it will show an alert message with the id test.

the javascript used is onclick="alert("

Hope this helps



Turbo Charge your business

We put our money where our mouth is. Our mission is to help any business anywhere get back on track.

If we don't bring you new customers you pay us nothing. We take nothing up front and there is no contract. We trust you implicitly. And it is literally if you don't pay us for bringing in new customers, then we stop brining them in.

You decide how much you are willing to pay for a customer and you pay once we bring them to you.

Simple, easy nothing else to explain.

If you would like us to help you get your business or products booming email us at

Speak soon.