Wrox Programmer Forums
|
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 February 7th, 2005, 01:10 PM
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 space

function areyousure(){
    question = confirm("Do you want to Delete - <%=forename%> <%=surname%>?")
    if (question !="0"){
        top.location = "deleteuser3.asp?agencyid=<%=agencyid%>&agencyname =<%=agencyname%>&b=<%=edituser%>"
    }
}

How do i put a space between the forename and the surname variables?

Picco

www.crmpicco.co.uk
__________________
_______________________
Ayrshire Minis - a Mini E-Community
http://www.ayrshireminis.com
http://www.crmpicco.co.uk
 
Old February 7th, 2005, 01:26 PM
Authorized User
 
Join Date: Jan 2005
Posts: 82
Thanks: 0
Thanked 0 Times in 0 Posts
Default

text = "Do you want to Delete -<%forename%>" + " " +"<%surname%>?";

$question = confirm(text);

I would imagine that'd be the syntax even without my knowledge of javascript.

----------------
Never bother to learn something not knowing which does not do you any harm, and never neglect to learn something whose negligence will increase your ignorance - Imam Jafar Sadeq





Similar Threads
Thread Thread Starter Forum Replies Last Post
space is not working.. gantait XSLT 5 February 26th, 2007 04:39 AM
Looks like a space but it isn't. rstelma SQL Server 2000 3 September 7th, 2005 07:17 PM
Unwanted space... again Snib HTML Code Clinic 1 August 25th, 2004 04:45 PM
space hassles Adam H-W HTML Code Clinic 16 June 30th, 2004 04:09 PM
Space in URL lian_a Classic ASP Basics 5 June 23rd, 2004 11:29 PM





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