Get & Set Textbox Values:
//--- GET & SET TEXTBOX VALUE ---//
//--- CAN ALSO BE USED ON ANY OTHER ELEMENT THAT HAS A VALUE PROPERTY ---//
// get the value of a textbox
var TextboxValue = $("#TextboxID").val();
// set the value of a textbox
$("#TextboxID").val("New Textbox Value Here");
Get & Set Element's HTML:
//--- GET & SET HTML OF ELEMENT ---//
// get element html
var DivHTML = $("#DivID").html();
// set element html
$("#DivID").html("This is the new html
");
Get & Set Element's Text:
//--- GET & SET TEXT OF ELEMENT ---//
// get text of element
var DivText = $("#DivID").text();
// set text of element
$("#DivID").text("This is the new text.");
Get & Set Element's Width & Height:
//--- GET & SET ELEMENT'S WIDTH & HEIGHT
// get element height
var ElementHeight = $("#DivID").height();
// set element height
$("#DivID").height(300);
// get element width
var ElementWidth = $("#DivID").width();
// set element width
$("#DivID").width(600);