JavaScript Reference/Javascript Properties/cite

Материал из Web эксперт
Перейти к: навигация, поиск

"cite" Example

   <source lang="javascript">
   

<html> <body> wbex.ru
<input type="button" value="Value of Cite Property" onclick="alert(myQ.cite);"> </body> </html>


     </source>
   
  


"cite" is applied to

   <source lang="javascript">

+----------------+--------------------------------------------------------------+

| Applied_To |
|

| | | | | | +----------------+--------------------------------------------------------------+

</source>



"cite" Syntax and Note

<source lang="javascript"> Note: Read and write property. Specifies the URL of the quotation source.

Syntax:

document.getElementById("elementID").cite = value document.all.elementID.cite = value // IE only


</source>