在文本框上添加文本隐藏功能 [英] Appy text hide function on text box
本文介绍了在文本框上添加文本隐藏功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好...
ima初学者到jquery ...我坚持使用一个简单的小功能,请帮我...我正在尝试将隐藏效果应用于文本框的text属性..这是我编写的脚本.... plz发表您的评论
Hey everybody...
i m a beginner to jquery...i m stuck with a small easy function, plz help me out...m trying to apply the hide effect on the text property of text box..here is the script i have written....plz post ur reviews
$(document).ready(function () {
$('#txttitle').click(function() {
$('.text').hide();
});
});
推荐答案
(文档).ready(
(document).ready(function () {
(# txttitle').click(函数(){
('#txttitle').click(function() {
( ' .text').hide(); }); });
('.text').hide(); }); });
这篇关于在文本框上添加文本隐藏功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文