jQuery Element assignment


HTML


$("Element").html()

Gets the HTML code for the selected element


$("Element").html("val")

Set the specified element of the HTML code, HTML code, how to write on how to write and usually write HTML in the body as


text


$("Element").text()

Gets the text displayed in the specified label, not the same as HTML


$("Element").text("val")

Get the specified tag settings, even HTML will be output as is

value


$("Element").val("val")

Get the value of the input check, select, radio, etc. can be obtained


$("Element").hTML("val")

Sets the value of the specified input




Copyright 2014-2017 by DeveloperTut.com. All Rights Reserved.
TwitterGoogle+Facebook