Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8633663
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T09:31:44+00:00 2026-06-12T09:31:44+00:00

http://wrestore.iupui.edu/model/mapScriptTry.html (doesnt work here) http://wrestore.iupui.edu/fusion/multipleMarkersJonOnClick.html (works here) url.push(‘&callback=drawWet1’) in an attempt to call the

  • 0

http://wrestore.iupui.edu/model/mapScriptTry.html (doesnt work here)
http://wrestore.iupui.edu/fusion/multipleMarkersJonOnClick.html (works here)

url.push('&callback=drawWet1')

in an attempt to call the callback drawWet1 in the line above, I was getting an error that it was undefined. My question was why is this occurring. It is clearly a function. It was answered below by stating that I needed to make the function a variable and call it that way. So

function drawWet1(){ 
}

becomes

drawWet1=function(data){
}

I could then access that inside my function making the callback.

So geocodezip, I have redone your script and gotten it to work on other pages but am now getting an error that the callback function is not defined. I am confused. url.push(‘&callback=drawWet1’); when that runs it tells me that drawWet1 is not defined yet it is! I don’t see any difference in calling between the two pages.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T09:31:45+00:00Added an answer on June 12, 2026 at 9:31 am

    The functions are not defined in global scope, currently they are visible only inside initialize() (That’s where they are currently placed).

    Instead of defining the functions like this:

    function drawWet1(data){//...
    

    do it like that:

    drawWet1=function(data){//....
    

    …or define the functions outside of initalize()

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

http://logging.apache.org/log4net/release/config-examples.html Given the log table here: CREATE TABLE [dbo].[Log] ( [Id] [int] IDENTITY (1,
http://marianoagency.com/intranet/trial.html Everything works fine until I start typing any of the sample tags (like
http://www.dorsetdesigns.co.uk/contact.html try the form it wont send a email to me. i am using
http://ano-mag.com/black-foil/ please check this url - click the Order Now button on the left
http://www.frostjedi.com/terra/scripts/demo/jquery-datepicker.html If you click outside of the textarea and reclick inside of it a
http://localhost:8080/search/terms?terms.prefix=ab&terms.fl=text&terms.sort=count I have the above terms query which works as I expect. Returns all
http://www.boost.org/doc/libs/1_35_0/doc/html/boost/get_id405862.html template<typename U, typename T1, typename T2, ..., typename TN> U & get(variant<T1, T2,
http://jsbin.com/uxepap/3/edit Here is div with links inside. I'm trying to replace comma inside last
http://ruby-doc.org/stdlib-1.8.7/libdoc/net/http/rdoc/Net/HTTP.html After reading the doc very carefully, I'm writing the following code snippet for
http://developer.android.com/guide/topics/manifest/service-element.html#proc What are the differences? If the name assigned to this attribute begins with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.