Anchor search property
definition and usage
search
property setting or return href attribute value of the query string part.
The query string is the part after the question mark (?) in the URL. It is usually used for parameter passing.
see also:
JavaScript reference manual:location.search property
example
example 1
return the query string part of the link:
var x = document.getElementById("myAnchor").search;
example 2
change the query string part of the link:
document.getElementById("myAnchor").search = "somenewsearchvalue";
syntax
return search property:
anchorObject.search
set search property:
anchorObject.search = querystring
ਵਿਸ਼ੇਸ਼ਤਾ ਮੁੱਲ
ਮੁੱਲ | ਵਰਣਨ |
---|---|
querystring | ਯੂਐਰਐੱਲ ਦੇ ਕਿਰਦਾਰ ਨੂੰ ਨਿਰਧਾਰਿਤ ਕਰਦਾ ਹੈ。 |
ਤਕਨੀਕੀ ਵੇਰਵੇ
ਮੁੱਲ ਵਾਪਸੀ: | ਸਟਰਿੰਗ ਮੁੱਲ, ਜੋ ਯੂਐਰਐੱਲ ਦੇ ਕਿਰਦਾਰ ਪੁੰਜੀ ਨੂੰ ਦਰਸਾਉਂਦੀ ਹੈ, ਸਵਾਲ ਨਾਲ ਸ਼ੁਰੂ ਹੁੰਦੀ ਹੈ। |
---|
ਬਰਾਉਜ਼ਰ ਸਮਰਥਨ
ਚਰਮ | ਐਂਜਲ | ਫਾਇਰਫਾਕਸ | ਸੈਫਾਰੀ | ਓਪੇਰਾ |
---|---|---|---|---|
ਚਰਮ | ਐਂਜਲ | ਫਾਇਰਫਾਕਸ | ਸੈਫਾਰੀ | ਓਪੇਰਾ |
ਸਮਰਥਨ | ਸਮਰਥਨ | ਸਮਰਥਨ | ਸਮਰਥਨ | ਸਮਰਥਨ |