SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Threaded View

  1. #1
    SitePoint Member
    Join Date
    Jun 2011
    0 Post(s)
    0 Thread(s)

    URGENT -- DOJO Dialog Box -- How come there is quotation marks ?

    As shown in the picture below, you can see the word "Chinese Swimming Club" in the dialog box
    Why is the quotation marks there ?
    Is it possible to remove the quotation marks and just display the pic + the words Chinese Swimming Club ?

    Part of the coding:
    Code JavaScript:
    //Display name on infoWindow
    function displayTitle(name, x, y, address){
    	return name + " <a href='#' onClick='showDirectionsDiaglog(\""+name+"\", "+x+", "+y+", \""+address+"\")'><img src='images/direction.png' alt='Get driving directions'/></a>";
    //Display dialog box
     function showDirectionsDiaglog(name, x, y, address){
    ;  ;
    	var d = dijit.byId("dialogDirections");
    	d.set("title", "<center><img src='images/direction.png'>&nbsp;\""+name+"\"</center>"); = "none";
    	document.getElementById("txtTo").value = address;;

    The name (Chinese Swimming Club) is retrieved from my database (I am using Microsoft SQL Server 2005)

    Please help. Thank you.
    Attached Images Attached Images


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts