js| Case | rmb | page | conversion
Implementation method One
Applet Implementation page is rmb.jsp, this page is through the applet to achieve the RMB lowercase conversion to uppercase. This page has three variables that need to be initialized when classes is loaded:
Variable rgb_back is to initialize the background color, modify the secondary variable can make the background color of the applet and its own page style; variable rgb_fore is the color of the initialization font; Wigth to the width of the applet, this variable is guaranteed to display the conversion information in the middle.
This method cannot pass a value to the page trans.jsp and can only be displayed and cannot be copy.
Enter Amount: <input type= "text" name= "Rmb_test" onkeyup= "Trans ()" ><br>
<%@ include file= ". /rmb.jsp "%>
</form>
</body>
Implementation Method Two
Applet Implementation page is rmb.jsp, this page is through the applet to achieve the RMB lowercase conversion to uppercase. This page does not require a variable initialization, the image that the applet paints is not displayed on the page, and the converted value can be passed to the page variable:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.