var text = $('#textbox1').attr('text');
From official site:The difference between attributes and properties can be important in specific situations. Before jQuery 1.6, the .attr() method sometimes took property values into account when retrieving some attributes, which could cause inconsistent behavior. As of jQuery 1.6, the .prop() method provides a way to explicitly retrieve property values, while .attr() retrieves attributes.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)