• Quick links
    • Unanswered topics
    • Active topics
    • Search
    • The team
  • FAQ
  • Login
  • Register

PHP forum, your PHP coding community

A community in which webmasters can ask for help with topics such as PHP coding , MySQL , IT jobs, web design, IT security.

  • Home Board index PHP PHP General
  • Search

Ask onclick method

General discussions related to php

Moderators: egami, macek, gesf

Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
patilpallavi
New php-forum User
New php-forum User
Posts: 7
Joined: Wed Jul 04, 2012 11:26 pm

  • Quote

Wed Jul 11, 2012 5:00 am

Hi,
Try this one

<input type=text name=kata id=kata class=txt-search >

$('#kata').focus(function(){
var strCurretnSearchString = $(this).val();
if(strCurretnSearchString == "Quick Search");
$(this).val('');
}).blur(function(){
var strCurretnSearchString = $(this).val();
if(strCurretnSearchString == "")
$(this).val('Quick Search');
});

hdmi cables, hdmi Adapters, hdmi Extenders, hdmi Switches
Top

Post Reply
  • Print view
1 post • Page 1 of 1

Return to “PHP General”

Jump to
  • php forum :: php coding
  • ↳   PHP coding => General
  • ↳   PHP coding => Images
  • ↳   PHP coding => Mail
  • PHP
  • ↳   PHP General
  • ↳   PHP Scripts
  • ↳   PHP Installation
  • ↳   PHP Jobs
  • ↳   PEAR and PECL
  • ↳   Your Scripts
  • php forum :: Database
  • ↳   mySQL & php coding
  • ↳   phpMyAdmin
  • ↳   MySQL Installation
  • ↳   Other Database Engines
  • php forum :: PHP and MySQL Security
  • ↳   PHP & MySQL Security
  • System Administration
  • ↳   Server installation and configuration
  • ↳   Server security
  • php forum :: HTML
  • ↳   JavaScript
  • ↳   HTML Basics
  • ↳   CSS
  • php forum :: Bar
  • ↳   Free time
  • ↳   News and Announcements

Login  •  Register



ADVERTISEMENT


ADVERTISEMENT


ADVERTISEMENT

  • Home Board index
  • All times are UTC-08:00
  • Delete all board cookies
  • The team
  • Contact us
 

 

Powered by phpBB™ • Design by PlanetStyles
cron