���������: change, input, cut, copy, paste
�������� �� ���� �������� �������, ������� ����� �� ���������� �����.
����� ����� ���������� �� ���� ���� ��������� �� �������� https://learn.javascript.ru/events-change-input.
�� ��������� ����� ���������� ������� ���������� � ����, �� ���� � ��������� ������, ��������� �������.
������� change
������� change ���������� �� ��������� ��������� �������� �������� �����, ����� ��� ��������� �������������.
��� ��������� ��������� ��� ��������, ��� ������� ��������� �� ��� ������ �����, � ��� ������ ������.
��������, ���� �� ��������� ���-�� � ��������� ���� ���� � ������� ���. �� ��� ������ �� ������ ����� �� ������ �������, ��������, ������ ������ � ��������� ������� onchange .
��� ��������� �� ���������: select , input type=checkbox/radio ��� ����������� ����� ��� ������ ��������.
� IE8- checkbox/radio ��� ��������� ����� �� ���������� ������� �����, � ���� ������ ������.
��� ����, ����� ������ ��������� checkbox/radio ��� �� � � IE8- ����� �������� ���������� �� ������� click (��� ��������� � ��� ��������� �������� � ����������) ��� ��������������� �������� propertychange , ��������� �����.
������� input
������� input ����������� ��� �� ��� ��������� �������� ���������� �������� � �������������� ����� ����������, ����� IE8-.
� IE9 ��� �������������� ��������, � ������ � �� ��������� ��� �������� �������� (��� � onpropertychange ).
������ ������������� (�� �������� � IE8-):
� ����������� ��������� oninput � ����� ������� ������� ��� ������ � ��������� �����. ������ ���, � �� keydown/keypress ������� ������������.
���� �� ��� �� �������� �� ������� IE� �������, �� ����� ������ ��� ������ ������� propertychange .
IE10-, ������� propertychange
��� ������� ���������� ������ � IE10-, ��� ����� ��������� ��������. ��� ��������� ����������� ��������� ��� ��. ��� �������������, � ��� �������� ������� ������������� � ����������� ��������� ��������� ������� � ������ IE.
���� ��������� ��� �� checkbox � IE8-, �� ��������� ����������� ������� change :
��� ������� ����� ����������� ��� ��������� �������� ���������� ��������. ������� ��� ����� ������������ � ������ IE ������ oninput .
� ���������, � IE9 � ���� �������: ��� �� ����������� ��� �������� ��������. ������� ��������� onpropertychange + oninput ������������, ����� ������� ����� ��������� ���� � ������ IE. ����� �� ���������� ������, ��� ��� ����� ������� �����.
������� cut, copy, paste
��� ������� ������������ �����. ��� ���������� ��� ���������/�������/����������� ��������.
� ���������, �����-����������� ������� �������� ������, ������� �����������/����������, �� ����������, ������� �� �������� ���������� � ��� ������ ��������������� ��������.
��������, ��� ���:
������: ���� � ��������� ���
��� �����, ������� ��������� � ��� ������� ��������� ���� �����.
���������, ��� �� ������������, �� �������.
������� ���� ��� ���, ����� � ������� ������ ������������ ����� ��������, ������������� ��� ������ ��������� ����.
��� ����� �����������?
������� input �������� ����� ������ �� ���� ���������, ����� IE9-. ����������, ���� IE9- ��� �� �����, �� �� ���� ����� � ������������.
� IE8- ������� input �� ��������������, ��, ��� �� ������ �����, ���� onpropertychange , ������� ����� �������� ���.
��� �� �������� IE9 � ��� �������������� � input � onpropertychange , �� ��� ��� �� �������� ��� �������� ��������. ������� �� ����� ����������� �������� ��� ������ keyup �� Delete � BackSpace . � ��� �������� �������� ���������� �� ���� � ������ �������� ���� oncut .
���������� ��� ����� ����������:
����� �� �������� ����� showCount �� ��� �������, ������� ����� ��������� � ��������� ��������. ��, ������ ��������� ����� �������������� ��������� ���, �� ���� � ���������. � ������ ������ ����� ������, ��������, ��� ������ throttle -����������, ���������� � ������ ���������� (throttling) ���������.
���� � ������ ������ �������, �� ����������� �������: ����� setInterval ��������� ��������� �������� �, ���� ��� ������� �������, �������� ���.
����� ���������� ������� ��������, �� ����� �������� ������������ �� onfocus , � ���������� � �� onblur , ��� ���:
������� �������� � ���� ���� ������ � ������ ����� ������ ��� ��������� IE8-, � ������� �� �������������� oninput � IE9, ��� oninput �� �������� ��� ��������.
�����
������� ��������� ������:
������� | �������� | ����������� |
---|---|---|
change | ��������� �������� ������ �������� �����. ��� ��������� ��������� ����������� ��� ������ ������. | � IE8- �� ��������� ��� ������ ������, ������� ��� ���������� ������� ������ ����� onclick -���������� ��� onpropertychange . |
input | ������� ����������� ������ �� ��������� ���������. ��� �� ��� ������ ������, � ������� �� change . | � IE8- �� ��������������, � IE9 �� �������� ��� �������� ��������. |
propertychange | ������ ��� IE10-. ������������� ������� ��� ������������ ��������� ������� ���������. ��� ���������� �������� ���������� � event.propertyName . ���������� ��� ���������� ������� �� ��������� �������� � ������ IE. | � IE9 �� ����������� ��� �������� ��������. |
cut/copy/paste | ����������� ��� �������/�����������/�������� ������. ���� � �� ������������ �������� �������� ��������, �� �������/�����������/�������� �� ���������. | ����������� �������� �������� ������: �� ������ ������������ ������� � �������� �� ��� ������ ��������, � ����� ����������. |
��� �����������: � IE8- ������� change , propertychange , cut � ����������� �� ���������. �� ����, ����������� ����� ��������� �� ��� �������, ��� �������������.
������
�������������� ��������� �� ������
�������� ��������� ��� ��������������� ���������� ��������� �� ������.
������ �����������: 12% �������. ��� ���������� ���� ��������������� � �������� ���������������� � ����� ������ ������ ����� (������� �������).
- � ���� � ������ ������ ���� ������ ������ ��-�����. ��� ���� ����� � �� �������� ����������� ������� � ��������� Ctrl-X/Ctrl-V.
- ��������� � ����� ���������� � ����������� �����.
�������� ������� �����.
������ ��������� ���� � ���� � ������ ���������, ������� ���������� �� keypress .
����������� ������� ��������� ��� �������������� �����������:
- �� input : ������� input � ������������� propertychange/keyup ��� ������������� �� ������� IE.
- �� checkbox : ������� click ������ change ��� ������������� � IE8-.
- �� select : ������� change .
��� ������, ������� �� ��� HW/SW ��� ����������� ����������?
� ���� � ��������� ��� (�������������� � ������������ ���������) � ��������� ��������, � � ��� ��������� ������ �� ���������� �������� ��� ���������� �������. ��� ��������� ����������� ��� ������ ������� ������� � ���������� �������� �� � ������� �����������/������������ ����, � �� ������ ��� ������ «������������������ ������� ������������� ������ � ����������», ��� � ���� ������������ ���������� ������������ VHDL ��� verilog, ����� ��������� ������� ��������� �����.
� ������� ����� � ����� ��������� ������������ youtube, ������� ����������, ��� ������� �������� ���������.
������� � �� ����, ���� �� �����-�� ���������. ��� ������, �������� �� ��������� ��������� ��� ������� ���������� � ����� �� ��� �������� �� ����?
��� ������, �������� �� ������������ ��������� ��� ������� � ����� �� ��� �� �������� �����������?
�� ������ ������� ��� ������������� ������, �� ������� �������� ������ ������� ������ ����� ��� ���� ������� ������ ������������� � ������� �������. � ������ ������� 5 ����� �� �������� ������� �������� ����� ��������, ��� ������������������ ����������� ��������� ������ ������, �� �� �������� ������������������.
�������� �������� ������ �������� ����� ����������� ��������� ��������� ���������. ��������� �� TI OMAP5430. �������� ��������, ��� � ���� ���� �� ����� 10 ����������� ���������� ���� (������ ��� ����� PowerVR ���� ��������� �������������� ������) � ������� ������������������� ������������ ���������. � ����� �����, ����� �� ������ ��������� ���-�� �� «��������» �����������, ���������� ������������� ���������� ����������� ����/������� �������/��������� ������� �� �����, ������� ������ ���� �����������.
������� ������� ����� ���-�� ����� ����, � ��� ������� ��� ���������. DSP/GPU/FPGA ����� ��������� ������ ��������� �����������, ����� ��� 2D-�������, �� ������� �������, ��� ���������. �� ������ «��������� ���������», ����� ��� ���������� �������, — ��� �� ��, ��� ����� ���� �� ������ � ������� ����.
� ����� ������ � �� �����, ��� ��� ��������� �������, ��� �� �������� ���-�� «��������». � �����, ��� �� ���� ���� ��������� ����, ����� ����������/����������� ����������/DSP-���������� ������, � �� ��� ��������� ����������� ������������. ��������, �� �������� ����� ���������� �������� ����, ����� ??��� ��, ��� � ��������������.
� �� ����, ��� ����� ���, �� � ������ ��������� verilog; � ������, ��� ������� ������ ��������� ����������� (��� ��������) �������� �������� ����������� ��� ����� ���������� ������, ������ ��� �� ����� ��� ��� ������� � ���������� ������� �������� ������ � �������� ������� (��������������� SIMD-��������).
������ ��������� ����������� ����� �������� �����, ������ ��� ��� ���� ������ ��� ��� ���������� ������� ���������, �� �� ����� ���� ��� ����� ������. � �����, ��� ��� ������ �����, � �� ���� ����� ������� ���� ����������� ������. � �� ����� � ���������� �������������� ��� (������� ��� ����� � ������, ��� ����������, — �� ������ ��������� �������� ��������� �����������) � �������� ��������� ����������� � �������� �������. � ������, ��� ��� ����� ������� ������ �� ���� �� ��������.
��� ����� ��� hw_changeobject
(PHP 3>= 3.0.3, PHP 4 )
hw_changeobject — Changes attributes of an object (obsolete)
Description vo >hw_changeobject ( int link, int objid, array attributes )
Внимание | |||||||||
�������� | ����������� �� ��� 0 ������� �������������� ����� ����������� |
�������� | 35/104 |
���� ���������� | 10.03.2013 |
������ | 3.8 Mb. |
��� | ����������� |
uchebilka.ru > ����������� > �����������
hw_Changeobject
��������
int hw_changeobject(int connection, int object_to_change, string commands);
������� ��������� �������, �������� ��� �������������� �������������� �������� ��������� ������. ������� ����������� ��������������� �������, object_to_change; ������� �������������� ���������� �����������:
���������� True ��� ���������� ������, ����� False.
hw_Children
��������
array hw_children(int connection, int objectID);
���������� ������ ��������������� ��������. ������ �������������� — ����� ��������� � ��������������� objectID. ������ �������� ���� �����������, ��������� � ���������.
hw_ChildrenObj
��������
array hw_childrenobj(int connection, int objectID);
���������� ������ ��������� �������. ������ ������ — ����� ��������� � ��������������� objectID. ������ �������� ���� �����������, ��������� � ���������.
hw_Close
��������
int hw_close(int connection);
��������� false, ���� ���������� �� �������� �����������, � ��������� ������ — true. ^ Closes ��������� ���������� � Hyperwave �������� � ��������� ������� ���������� connection .
hw_Connect
��������
int hw_connect(string host, int port, string username, string password);
��������� ���������� � Hyperwave �������� � ���������� ����� ���������� ��� �������� ���������, ��� False, ��� ���������� �� ����� ���� �����������. ������ �������� ������ ���� «�����������» �������, �������� ����� �����. �������� username � password ����������� � ����� �� �����������. � ������ ������ �������������, ������ �������� ������. ����� ������������ ������������� ��� ������������ anonymous. ������� ��������� ������ ����������, ���������� ��� ������ ������� Hyperwave. �� ������ ������� ��������� ����������. �������, ��� ������ �� ���������.
������ ����� hw_pConnect().
hw_Cp
��������
int hw_cp(int connection, array object_id_array, int destination id);
�������� ������� � ����������������, ���������� �� ������ ��������� � ��������� � ��������������� destination id.
������������ ����� ������������� ��������.
hw_Deleteobject
��������
int hw_deleteobject(int connection, int object_to_delete);
������� ������ � ���������������, ��������� �� ������ ���������. ����� ������� ��� ���������� �������.
��� ���������� ������ ���������� true, ����� — false.
��� ������, ������� �� ��� HW/SW ��� ����������� ����������?
� ���� � ��������� ��� (�������������� � ������������ ���������) � ��������� ��������, � � ��� ��������� ������ �� ���������� �������� ��� ���������� �������. ��� ��������� ����������� ��� ������ ������� ������� � ���������� �������� �� � ������� �����������/������������ ����, � �� ������ ��� ������ «������������������ ������� ������������� ������ � ����������», ��� � ���� ������������ ���������� ������������ VHDL ��� verilog, ����� ��������� ������� ��������� �����.
� ������� ����� � ����� ��������� ������������ youtube, ������� ����������, ��� ������� �������� ���������.
������� � �� ����, ���� �� �����-�� ���������. ��� ������, �������� �� ��������� ��������� ��� ������� ���������� � ����� �� ��� �������� �� ����?
��� ������, �������� �� ������������ ��������� ��� ������� � ����� �� ��� �� �������� �����������?
�� ������ ������� ��� ������������� ������, �� ������� �������� ������ ������� ������ ����� ��� ���� ������� ������ ������������� � ������� �������. � ������ ������� 5 ����� �� �������� ������� �������� ����� ��������, ��� ������������������ ����������� ��������� ������ ������, �� �� �������� ������������������.
�������� �������� ������ �������� ����� ����������� ��������� ��������� ���������. ��������� �� TI OMAP5430. �������� ��������, ��� � ���� ���� �� ����� 10 ����������� ���������� ���� (������ ��� ����� PowerVR ���� ��������� �������������� ������) � ������� ������������������� ������������ ���������. � ����� �����, ����� �� ������ ��������� ���-�� �� «��������» �����������, ���������� ������������� ���������� ����������� ����/������� �������/��������� ������� �� �����, ������� ������ ���� �����������.
������� ������� ����� ���-�� ����� ����, � ��� ������� ��� ���������. DSP/GPU/FPGA ����� ��������� ������ ��������� �����������, ����� ��� 2D-�������, �� ������� �������, ��� ���������. �� ������ «��������� ���������», ����� ��� ���������� �������, — ��� �� ��, ��� ����� ���� �� ������ � ������� ����.
� ����� ������ � �� �����, ��� ��� ��������� �������, ��� �� �������� ���-�� «��������». � �����, ��� �� ���� ���� ��������� ����, ����� ����������/����������� ����������/DSP-���������� ������, � �� ��� ��������� ����������� ������������. ��������, �� �������� ����� ���������� �������� ����, ����� ??��� ��, ��� � ��������������.
� �� ����, ��� ����� ���, �� � ������ ��������� verilog; � ������, ��� ������� ������ ��������� ����������� (��� ��������) �������� �������� ����������� ��� ����� ���������� ������, ������ ��� �� ����� ��� ��� ������� � ���������� ������� �������� ������ � �������� ������� (��������������� SIMD-��������).
������ ��������� ����������� ����� �������� �����, ������ ��� ��� ���� ������ ��� ��� ���������� ������� ���������, �� �� ����� ���� ��� ����� ������. � �����, ��� ��� ������ �����, � �� ���� ����� ������� ���� ����������� ������. � �� ����� � ���������� �������������� ��� (������� ��� ����� � ������, ��� ����������, — �� ������ ��������� �������� ��������� �����������) � �������� ��������� ����������� � �������� �������. � ������, ��� ��� ����� ������� ������ �� ���� �� ��������.
����� �����
| |||||||||
��������������! |
---|