javascript not getting value
===

I am wondering just how come the following is giving me hassle, it looks straight forward but I am not sure whats happening.

So I have a input box and I want a user to fill it in, every time i run the following

i get unidentified and I am not sure why.


    <input type="numbers" name="price" class="sell" placeholder="$0.00">
        

Am using the following javascript

			
    var price = document.getElementsByName("price")
    	alert(price.value);

