$('#[0].txtnumber')

$('#[0].txtnumber')

Hi, 
I'm developing an application with ASP.net MVC.
I get an error for the following code.
  1. var obj = $('#[0].txtnumber'); 
Error: 
Unhandled exception at line 1437, column 2 in http://localhost:24894/Scripts/jquery-2.1.1.js
0x800a139e - Syntax error, unrecognized expression: #[0].txtnumber
Html:
  1. <input name="[0].txtnumber" class="form-control" type="number" min="0" max="99" value="14" data-val-required="Number is required" data-val="true" data-val-number="The field Number must be a number.">
How can I solve this problem?

Check your browser's console, please.

Thanks