Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old October 20th, 2005, 06:35 AM
Friend of Wrox
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default show title without mouseover object

function alertUser(id)
    //alert("FUNCTION: alertUser");
    //alert("id = " + id);
    var df = document.forms["form"];
    var doc = document.form;

    if (df.elements[id].value != "")
        df.elements[id].value = "";
        alert("The Seat must contain a letter for the row identifer\ne.g 22A");
        return false;


seat_zelle.innerHTML = "<input type='text' id='specify"+s+"' name='specify"+s+"' "+
                       "title='Insert Seat Number for Pax: "+ passagier + " " + passNo + " / Segment "+ parseFloat(s+1) +"' "+
                       "class='selects' size='5' onBlur='if(!/^.*[a-z].*/i.test(this.value)){alertUser(this.id);};     concatSeats(this.value,"+passNo+",this.id,"+pass+");' "+
"onKeyUp='this.value=this.value.toUpperCase(); return IsNumeric(this.value,this.id);' />";
the alertUser function is called by the textbox onBlur.

Is there a way to show the title without mouseing over the textbox?

Just after the alert (alert("The Seat must contain a letter for the row identifer\ne.g 22A");) has been shown?


Ayrshire Minis - a Mini E-Community

Similar Threads
Thread Thread Starter Forum Replies Last Post
Online Diary Mod Show Entry Title on Calendar vgharris0 BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 3 April 1st, 2008 12:02 PM
Getting Object Expected error on mouseover event nrlahoti ASP.NET 2.0 Professional 10 March 15th, 2008 11:30 AM
How to show gif image on mouseover event of button arshad mahmood ASP.NET 1.0 and 1.1 Basics 2 September 14th, 2006 12:15 AM
set title but do not show onMouseOver crmpicco Javascript How-To 7 November 1st, 2005 12:26 PM
show a img title onClick crmpicco Javascript How-To 2 October 7th, 2005 08:50 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.