load jquery CFC problem

I am trying to load some data from a database using CFCs and jquery but can't due to a problem sorting on the client side.

Here's what I have so far:

. CFC


< cfproperty output = "false" >

< name cffunction = "getData" access = "remote" returntype = "output" = "false" >

< cfquery name = "test1" datasource = "database" >

SELECT ID, NAME

TABLE

< / cfquery >

< cfset data = serializeJSON (test1) >

< cfreturn data / >

< / cffunction >

< / cfproperty >

.cfm

< ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""

" < html xmlns =" http://www.w3.org/1999/xhtml ">

< head >

< meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"

< title > Untitled Document < /title >

"< script src="jscript/jquery-1.8.2.min.js "> < / script >

< script >

{$(document) .ready (function ()}

$("#loadLink").click (loadQuery)

});

function loadQuery() {}

$.ajax({)

URL: ' loaddata.cfc? method = getData.

success: function (data) {}

Alert ("function data gets from the server:' + '\n' + '\n' + data + '\n' + '\n' +")

"everything is listed here');

var columnMap = {}

for (var i = 0; i < data.) COLUMNS.length; i++) {

columnMap [data. COLUMNS [i]] = i

}

var str = "people < h1 > < / h1 > '"

for (var i = 0; i < data.) DATA.length; i++) {

Str += '< b >' + data. Data [i] [columnMap.Name] + '< /b >.

Str += "has a cool score of ' + data." "Data [i] [columnMap.ID] +' < br / >"

}

$("#content").html (str)

}})

return false

}

< /script >

< / head >

< body >

< p >

< a href = "" id = "us" > load query < /a > "

< /p >

< div id = "content" >

< / div >

< / body >

< / html >

as you can see this is a simple script (I found on the web and a little changed for testing purposes), the final should be a little complex.

Here's a firebug error throws every time

TypeError: data. The COLUMN is not defined
for (var i = 0; i < data.) COLUMNS.length; i++) {

I know it's a matter of javascript, but I would appreciate your help on this one.

now, I have two examples of work, the first works very well and the second is even better

Tags: ColdFusion

Similar Questions

  • Noob question: problem loading jQuery

    Hi all, I have created flash panels Photoshop years ago and now try the HTML5 stuff.  I use Photoshop CC 2014 on Windows 8.1.

    I'm just trying to get a VERY simple operational sample jQuery but for some reason any jQuery refuses to load.  Now, I probably don't do things in the right order, etc, but I have tried all night to make it work:

    C:\Users\Gear\AppData\Roaming\Adobe\CEP\extensions\com.example.jqui\index.html

    <!DOCTYPE html>
    <html>
    <head>
    <script src="./js/libs/jquery-1.11.1.min.js"></script>
    <script>
    $(document).ready(function(){
      $("button").click(function(){
        $("p").hide();
      });
    });
    </script>
    </head>
    <body>
    
    
    <h2>This is a heading</h2>
    <p>This is a paragraph.</p>
    <p>This is another paragraph.</p>
    <button>Click me</button>
    
    
    </body>
    </html>
    
    

    This is an example of jQuery on W3:

    http://www.w3schools.com/jQuery/tryit.asp?filename=tryjquery_hide_p

    I have install the manifest.xml and .debug files, the extension is recognized by Photoshop, no problem and works fine but the example does not seem to load jQuery.  When I debug the extension in Chrome, it says:

    Eception ReferenceError: $ is not defined (index.html, line 6)

    I have triple checked the path to jQuery and it's OK, I even use the full path of the legs of fasteners auto.

    Any help would be GREATLY appreciated!

    Thank you!

    G

    BINGO!

    So I got a sample project from one of the CEP examples that worked well, so I was looking at the differences between the projects, one of them was the jQuery version...

    I loaded jquery - 1.9.1.js instead of jquery - 1.11.1.min.js in my project and it worked fine!

    In addition, I don't know what the problem is, however.

    G

  • Loading Z10 blackBerry problems

    Hello!

    My phone is having a problem while loading. The problem is when I connect it to the wall charger it does not load and shows a red exclamatory sign or symbol when the phone is 100% charged when well even the battery level is not 100%, instead of lightning which indicates the load. Additionally, this problem occurs usually when I am connected to the internet.

    I also want to know how I can increase the performance of my phone as more autonomy, more memory etc.

    Posted by z10
    OS version 10.3.2.2639

    You are welcome.

    iamro17 wrote:
    But it has more than two problems except the load question
    (1) every time I restart my phone date and time will not value when well same automatic and updated date in day time is on and I'm connected to the internet, so I have to manually change.
    (2) sometimes when I press the top button to lock the screen it would be stuck (screen not responding) and I have to press and hold the button on the top so that the phone turns off and I have to restart.

    (1) thus, when you restart your Z10 (check that you restart by leaving your Z10 power, remove the battery for a minute and reinsert to restart), you go to settings > Date/time, and the "Set Date and time automatically" turned off? Please confirm or explain.

    (2) I don't know about this. This button would be dirty? Remove the case and look, use a q-tip to clean around it.

  • I am owner of CS6 Web Premium.  I lost Acrobat Pro and cannot re - load.  The problem is caused by the business license of Acrobat and an update has failed.  However, I have my own license to CS6. I think my only option is to disable all C

    I am the owner of CS6 Web Premium.  I lost Acrobat Pro and cannot re - load.  The problem was caused by the company license agreement between Adobe and my company.  The COMPUTER software company tried to upgrade my Acrobat Pro XI and since then it does not work I can not open the Acrobat application or open any PDF from my office.  The creative cloud app will not be day or upgraded my version of Acrobat as noted earlier versions must be removed.  However, I can't remove all traces of Acrobat (old version) through normal Windows uninstall process.  I believe that the recommendation of the Adobes is that I disable and remove applications CS6, and then re - load them all.  I'm willing to do that, but now, but I ask a confirmation that it is the best way forward?

    You can try the cleaner suite if your installation of acrobat has been as part cs6, use of the Adobe Creative Cloud cleaning tool to solve installation problems

  • Problem loading jQuery in Photoshop CC-2014

    Good evening! Unfortunately, this week inflizmente am not lucky that installing my extension of html5 in Photoshop. This time the Panel does not jQuery load, could someone help me solve this problem?

    oliverIntergrafika, thanks again for the help! I discovered here that in Eclipse, there is the possibility to choose the version of jQuery and it is this option that solved my problem, thank God.

    SORTED!

    The challenge now is to install this extension in Photoshop CC-2015

  • Firefox stop loading pages; the problem is solved simply by restarting the browser

    Seemingly random situations, Mozilla Firefox 42.0 on Windows 10 stops any type of loading page. Caution endlessly, any address spinning loading icon is tapped. This problem is solved only when I restart the browser (just by closing and opening this new patches).

    Is there a reason for that to happen?

    Hello, everyone.

    I'm sorry that it took me so long to revisit this issue.

    It seems that the pain I was experiencing was caused by one of the two addons: roomy Bookmarks Toolbar and (BookmarksBar) hide (or) Show - Hide Bookmarks Toolbar (can't remember who it is because I have already deleted them).

    It seems that one of them, or a combination of these addons caused problems of the no-load. Given that I removed these addons, it disappeared completely.

    Thank you for your help.

  • Firefox refuses to load Gmail. "Problem loading page".

    Whenever I try to load Gmail I get this message: http://i.imgur.com/i7wNMrS.png

    But when I go into private mode I can see Gmail without a problem. Is there any solution for this? I'm moving from my chrome buggy in Firefox, but if this cannot be fixed then I'll be back.

    Hello

    Try to clear your cookies and cache and then try to connect again.

    • History (or

      (> History) > clear recent history

    Or:
    "Clear the Cache":

    • Tools (or

      > Options > advanced > network > content caching Web: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Tools (or

      > Options > privacy > "Use the custom settings for history" > Cookies: "show the Cookies".

    You can also try in Firefox Safe Mode to see if an extension might be causing the problem.

  • After the update to Firefox 6 (and 7 now), I find that some Web sites take ages to load. This problem does not occur with IE. Any suggestions?

    Since the update to Firefox 6 I found that some Web sites a change upward to 5 minutes to load. The same websites load quickly on IE. I had hoped that Firefox 7 should solve this problem, but it happened. If there is no solution, I'll probably have to stop using Firefox.

    Why this link does not go to the IANA, rather than this site?

    Many people have found that setting the maximum number of connections to: config for a lower number has solved the problem of slow Firefox.

    Network.http.Max - connections - default value is now trying to 256 - 48

  • Driver TSST Corp CDDVDW TS - L633L ATA Device will not load. The problem code is 19 / how to fix?

    HP Pavilion dv4
    TSST Corp CDDVDW TS-L633L ATA Device

    Control Panel / problem report and solutions
    Problem: Could not load software driver status: sent report

    Description
    Windows was able to successfully install device driver software, but the driver has encountered a problem when he tried to run. The problem code is 19.

    Signature of the problem
    Problem event name: PnPDeviceProblemCode
    Architecture: x 64
    Hardware ID: IDE\CdRomTSSTcorp_CDDVDW_TS-L633L___0400___
    Configure the class GUID: {4d36e965-e325-11ce-bfc1-08002be10318}
    The PnP problem code: 00000013
    Driver name: cdrom.sys
    Driver version: 6.0.6002.18005
    Driver date: 11/04/2009
    The system version: 6.0.6002.2.2.0.768.3
    Locale ID: 1033

    Additional information about the problem
    Bucket ID: 619663520

    Control Panel / Device Manager
    Windows cannot start this hardware device because its information of configuration (in the registry) is incomplete or damaged. (Code 19)
    Click on 'Search for solutions' to send data about this device to Microsoft and to see if there is a solution available.

    I tried:
    Update driver software
    Uninstall / find the hardware changes
    Uninstall / reboot / new hardware found
    Properties / verification solutions

    How can I fix it?

    Hello

    Try to follow the procedure at the title of the subheading "Let fix me it myself" on the link below to delete the upper and lower filters and see if that helps the issue.

    http://support.Microsoft.com/kb/982116

    You have to restart the laptop after that.

    Kind regards

    DP - K

  • Windows 7 32-bit slow start of blue circle hangs on the network icon in the tray for 10 minutes, some programs don't load until the problem resolves.

    Hello world.

    It will be long and windy.

    I have a problem with my Dell XPS M1530.

    im going to write down the details of my question, short first. so if you want you can read my short story on my laptop and I.

    • Slow start.
    • Network at startup initialization problem.
    • Blue circle weighs on my network icon in the taskbar notification for 10 minutes or more. then she disappears with the problem that everything starts to operate correctly.
    • some startup programs do not start until the issue is resolved. (blue circle disappears) i.e. Dell touchpad, magic disc, pda.net and perhaps language bar.
    • programs that have to do with the network or the internet such as IE or center network to hang until the issue is resolved.
    • Some programs won't load if started up that the problem is solved. i.e. open office, cakewalk sonar.

    Another thing, I noticed. If I have automatic network connection configuration and the network is in range when I launch firefox I can actually serf the web regardless of the question.

    I'm not the only one having this problem, but solutions that work for some do not work for me. some of the things I've tried to understand.

    • has run msconfig to see if it is one of the start up programs or cervix causing the problem. found nothing.
    • has ran the command cmd, I forgot what's it called some thing/something else. It digitizes and restores the registers according to me. did not help
    • Used pc AVG scanner. then corrected all the errors found and the questions. did not help.
    • reinstalled the network drivers. did not help.
    • Ran startup recovery tool to fix problems at the beginning. did not help.
    • Booted up my laptop in SafeMode with network. Works very well

    Also, the problem started not with win 7 install I had it on my laptop well before the Enigma.

    im running Windows 7 Professional 32-bit. as if lately, about 3 months ago, my laptop started to start slowly and be laggy when the system boots. I have no much attention at first. Since the question does not disappear on its own, I noticed that my network in the notification bar icon has a blue circle probably because its network initialization or loading something that is bound to it something as is. After about 10 minutes the issue resolves itself and everything works fine until I have reboot or restart. also if I put my laptop to sleep when I start it it works fine. I think that the time to resolve that issue got longer it is about 10 min now but it used a lot less. at least that's what I recall. In addition, I noticed a few more things. If I left click on the network icon does nothing when normally it will display network connections. If I right click on it displays troubleshooting and Open Network and Sharing Center. Troubleshooting doesn't help and returns nothing. Network and sharing Center is suspended until the problem resolves. in fact, some programs won't load until it the problem goes away like internet explore, network and sharing virtually Center almost everything what has to do with the network and also other programs that require a little more resources e.g. cakewalk Sonar. In addition, other startup programs and services such as Dell touch pad, magic disk, PDA. NEt don't start until after the problem goes away. What else... the kicker is that while the issue is to present the networks I connect to automatically are in fact very well and I have internet, even though the network is still initializing. what I mean is that if I start my portable firefox and launch (cannot use IE because he hangs up) I can go online and the serf of the web.

    Well, I am at a loss and don't know what to do next, except to format and clean install. However, people who did it until the problem was which leads me to believe that this is one of the windows updates may be.

    If someone knows how to fix this problem or can give a kind of constructive contribution, I'm all ears.

    Thanks in advance.

    Hey Kosmosis,

    I had the same problem, and after fishing trawl through the web to find answers, this is the most reliable solution that I found. At the very least, it will help to determine where the problem is.

    (1) reboot your computer.

    (2) go to Run--> services.msc

    (3) to sort the list by status (click the heading)

    (4) see those blocked at the 'boot '? These are your incriminated objects.

    Apparently, Windows has problems initializing services, and until he solves, or give up, he can't go the rest of the startup procedure. Different people get stuck on different things. For me, it was the 'Server' service as jams it for 20 minutes or more.

    You have 2 options:

    Right click 1)--> properties and change the Startup Type to "automatic (Delayed). This requires to load later, that hopefully allows all the rest at the end of initialization so that you can use the computer first.

    (2) read the Description of the service and see if you can find whats causing it to get stuck. In my case, 'Server' rule of network discovery, file sharing and printing. I realized that I UNPLUGGED a NAS from Buffalo, who worked as a print server as well. My windows was blocked to find a printer on a network that was no longer available. Remove the printer from devices solved the problem.

    If all else fails, you can always try to disable the service. This is probably not the best reccomendation, like its there for a reason, but it might help you to troubleshoot.

  • Windows 7 64-bit slow start of blue circle hangs on the network icon in the notification area. Some programs don't load until the problem resolves. stuck at the screen of welcome for 5-10 minutes sometimes.

    Hello world.

    It will be long and windy.

    I have a problem with my ASUS G50VT - X 5.

    im going to write down the details of my question, short first. so if you want you can read my short story on my laptop and I.

    • Slow start.
    • Network at startup initialization problem.
    • Blue circle weighs on my network icon in the taskbar notification for 10 minutes or more. then she disappears with the problem that everything starts to operate correctly.
    • some startup programs do not start until the issue is resolved. (blue circle disappears) i.e. adjustment of splendid colors, services, programs of control really like network connections and things like that but some i can still run.
    • programs that have to do with the network or the internet such as IE or center network to hang until the issue is resolved.
    • Some programs won't load if started up that the problem is solved. for example, microsoft outlook and other things.

    Another thing, I noticed. If I have automatic network connection configuration and the network is in range when I launch firefox I can actually serf the web regardless of the question.

    I'm not the only one having this problem, but solutions that work for some do not work for me. some of the things I've tried to understand.

    • has run msconfig to see if it is one of the start up programs or services is causing the problem. found nothing.
    • run the cmd command, I think that the chkdsk. It digitizes and restores the registers according to me. did not help
    • Used norton. then corrected all the errors found and the questions. did not help.
    • Ran startup recovery tool to fix problems at the beginning. did not help.
    • Booted up my laptop in SafeMode with network. Works very well

    Also, the problem started not with win 7 install I had it on my laptop well before the problem.

    im running Windows 7 Professional 64-bit. as if lately, about a week ago my laptop started to start, slow down and be laggy when the system boots. I have no much attention at first. Since the question does not disappear on its own, I noticed that my network in the notification bar icon has a blue circle probably because its network initialization or loading something that is bound to it something as is. After about 10 minutes the issue resolves itself and everything works fine until I have reboot or restart. also sometimes on occasion I will be stuck to the homescreen for 7-10 minutes.  also if I put my laptop to sleep when I start it it works fine. I think that the time to resolve that issue got longer it is about 10 min now but it used a lot less. at least that's what I recall. In addition, I noticed a few more things. If I left click on the network icon does nothing when normally it will display network connections. If I right click on it displays troubleshooting and Open Network and Sharing Center. Troubleshooting doesn't help and returns nothing. Network and sharing Center is suspended until the problem resolves. in fact, some programs won't load until it the problem goes away as internet explore, network and sharing virtually Center almost everything what has to do with the network and also other programs that require a bit more resources. What else... the kicker is that while the issue is to present the networks I connect to automatically are in fact very well and I have internet, even though the network is still initializing. what I mean is that if I start my portable firefox and launch (cannot use IE because he hangs up) I can go online and the serf of the web.

    Well, I am at a loss and don't know what to do next, except to format and clean install. However, people who did it until the problem was which leads me to believe that this is one of the windows updates may be.

    If someone knows how to fix this problem or can give a kind of constructive contribution, I'm all ears.

    Thanks in advance.

    I also looked in the event viewer and noticed these problems...
    The winlogon notification subscriber took 916 second (s) to handle the notification event (Logon).
    -
    -
    6006
    0
    3
    0
    0
    0 x 80000000000000
    56201
    Application
    Collin-PC

    -
    TermSrv
    916
    Opening of session
    02000000

    and it was lower than...
    Bucket of error, type 0
    Name of the event: ServiceHang
    Answer: No available
    Cabin ID: 0
    Signature of the problem:
    P1: LanmanServer
    P2: srvsvc.dll
    P3: 6.1.7601.17514
    P4: 20
    P5: 2
    P6:
    P7:
    P8:
    P9:
    P10:
    Attached files:
    C:\Windows\Temp\WERBC1D.tmp.WERInternalMetadata.XML
    C:\Windows\Temp\WERBC1E.tmp.HDMP
    C:\Windows\Temp\WERCBA9.tmp.mdmp
    These files are available here:
    C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppHang_LanmanServer_958bb07ee47f1d58779ce0fb489791f2b7187bdb_cab_0de8cef2
    Symbol of the analysis:
    Recheck for solution: 0
    Report ID: 0de8cd67-d5a8-11e0-a8a7-9ab1f0009500
    Display state: 6
    and below that,.,.
    The winlogon notification subscriber takes a long time to handle the notification event (Logon).

    Hello

    1. Since when are you facing this problem?

    2 have you made changes on the computer before this problem?

    3. do you get any error code or error message while starting?

    I would suggest trying the following methods and check if it helps.

    Method 1:

    If you have not tried the steps in the following Microsoft article, then try to clean boot and check if it helps.

    How to solve the problem by running the clean boot in Windows Vista or Windows 7:
    http://support.Microsoft.com/kb/929135

    Note: Once you have completed troubleshooting, perform the steps in the step 7: to reset the computer as usual.

    Method 2:

    Step 1:

    If the problem persists, you can create a new user account and check what is happening. To create a new user account

    http://Windows.Microsoft.com/en-us/Windows7/create-a-user-account

    Step 2:

    If the new user account works fine then the old account has been corrupted, you can follow the link given below to fix the corrupted user profile.

    http://Windows.Microsoft.com/en-us/Windows7/fix-a-corrupted-user-profile

    Hope the information is useful.

  • How to load jquery widget.autocomplete.min.js Apex page?

    I am using Jquery AutoComplete by adding

    / i/Libraries/apex/minified/widget. AutoComplete.min.js in Javascript's file URL, and

    /i/libraries/jQuery-UI/1.8.22/themes/base/jQuery.UI.AutoComplete.CSS in URL of the CSS file.

    The web console shows these two files are loaded as shown below, but my reference to the autocomplete function is failed with the error TypeError: $(...). AutoComplete is not a function.

    GET https://xxx.yyy.com/i/libraries/jQuery-UI/1.8.22/themes/base /jQuery.UI.AutoComplete.CSS [HTTP/1.1 304 not modified 45ms]

    GET https://xxx.yyy.com/i/libraries/Apex/Minified/desktop_all.min.js [HTTP/1.1 304 not modified 45ms]

    GET https://xxx.yyy.com/i/libraries/Apex/Minified/legacy.min.js [HTTP/1.1 304 not modified 45ms]

    GET https://xxx.yyy.com/i/libraries/Apex/Minified/ widget.AutoComplete.min.js [HTTP/1.1 304 not modified 44ms]

    GET https://xxx.yyy.com/i/themes/theme_26/CSS/4_2.CSS [HTTP/1.1 304 not modified 74ms]

    GET https://xxx.yyy.com/i/themes/theme_26/js/4_2.js [HTTP/1.1 304 not modified 73ms]

    GET https://xxx.yyy.com/i/f_spacer.gif [HTTP/1.1 304 not modified 35ms]

    GET https://xxx.yyy.com/i/e.gif [HTTP/1.1 304 not modified 35ms]

    TypeError: $(...). AutoComplete is not a function f: 130

    GET https://xxx.yyy.com/i/themes/theme_26/images/App_Theme.PNG [HTTP/1.1 304 not modified 35ms]

    GET https://xxx.yyy.com/i/Apex/Builder/dev-bar.PNG

    The javascript code is simply an empty appeal to funtion

    {jQuery (function ()}

    $("#P1_TEST").autocomplete ({}

    Source: function (request, response) {}

    });

    });

    My version of the Apex is 4.2.2.00.11.

    All the tips are greatly appreciated.

    View

    You must load the UI library after the apex js files. The jQuery library is included in the desktop_all.min.js file, if you do it too early.

    In addition, the entry widget semi-automatic apex is not seized semi-automatic jqueryui, it is a (very) outdated version and is used for the builtin AutoComplete items. It does not interfere with the jqueryui however widget. So that's fine, that's irrelevant here.

  • Action dynamic jQuery Selector problem

    Hello

    I'm under ApEx version 4.1.1 on Oracle 10.2.0.4.0 on Linux.

    I try to imitate what is in demand of Denes Kubicek https://apex.oracle.com/pls/otn/f?p=31517:315:1:

    jQuery Cascading tabular LOV.

    In the form of tables, the first LOV (called Type) is "f05".

    I created a dynamic action:

    Event: change

    Selection type: jQuery Selector

    jQuery Selector: select [name = "f05"]

    The first real action is an alert that is set to fire on the loading of the page and simply says "In dynamic Action".

    When I hit the button Add a blank record is displayed as expected.

    When I select a Type in the LOV Type not triggers the dynamic Action.

    Thinking that I was using the wrong column in the form of tables, I changed the jQuery Selector for 'fxx' up to the maximum number of my columns and nothing has worked.

    I checked in Firefox and it is not firing.  What I am doing wrong?

    Thank you very much

    Becky

    Tom,

    I was able to get the demo app to work in IE9.  I exported the app for my client's site and it works in IE8.  However, when I copied the code in the client application, it does not work.  I'm back to the parseerror... unexpected character when it is run in Firefox!

    When I opened the dev tools in ie8 I get no error.  When I run the app, by selecting the first LOV I get error: parseerror - [object Error], which is the same thing.

    You helped my a lot and I appreciate it!

    The demo application is up-to-date.

    I guess when all else fails, delete and start over!  I created another page and recreated the tabular presentation.  I copied the application that works.  On the page where I need the form of tables, I deleted the original and copied from the newly created page.  It works now.  Very frustrating because I think that you shouldn't have to remove and re-create stuff!

    I think I'm done!

    Thanks a lot for all your help in getting me this far!

    Becky

  • JSON/Jquery Variable problem

    I have a problem in the construction of a yardsale using jquery google map card, while providing some time via a Json call yahoo weather.

    I put markers of card via a call from Json to addresses. Place the marker (if the address is found) he built the infowindow with the info I provided (from the yardsale Json call). This works. I am trying to add weather data in each information window. I can get the data I need and assign it to a variable, but when I try to enter the room that puts the information in the window, it is as undefined.

    I tried to place the variable as a global variable outside the function (under the call for loan doc)?

    Can any body show / tell me how to get the drive to work (and why so I don't make the same mistake)

    Here is the code below:

    $(document) .ready (function() {}

    var val

    var address="Boston, Mass.

    var currdate

    //weatherwidget (address)

    $('#map_canvas') .gmap ("search for", { 'address': 'Boston, Mass' }, function(results, isFound) { })

    if (isFound)

    {

    $('#map_canvas') .gmap ('you','sheet') .panTo (results [0]. geometry.location);

    $('#map_canvas') .gmap ('option', 'zoom', 10);   

    }

    });

    $.getJSON ("Yardsaleagate.json", function(yard_data)

    {

    $.each (yard_data.yardsales, function{}

    var val = thep:System.NET.Sockets.IPPacketInformation.address

    var = thiskey .stuff

    setTimeout (function() {}

    $('#map_canvas') .gmap ('search', { 'address': val}, { function(results, isFound))

    if (isFound)

    {

    $.getJSON ('http://query.yahooapis.com/v1/public/yql?q=select%20 *%20from%20weather.forecast%20where%20 %20 in %20 location (%0A%20%20select%20id%20from%20weather.search%20where%20query%3D%22'+ address +'% 22% 0a) % 20limit % 201 & format = json & diagnosis = true & env=store%3A%2F%2Fdatatables.or g % 2Falltableswithkeys & callback =?', function (data) )

    {

    currdate var = (data.query.results.channel.item.forecast [0] .date)

    Console. Journal (currdate)

    })

    $('#map_canvas') .gmap ('addMarker', { 'position': results [0]. geometry.location, 'description': key, icon: 'map-icons/pins/32/pin_ys.png','animation': google.maps.Animation.DROP, 'info': val}) .mouseover (function () {weatherlocation (val)}) ravishing (function () {}

    var infocontent = ' < div class = 'info' > '+ currdate +"< div class ="header"> < h3 > '+ val+" "< / h3 > < / div > < p > '+this.description+' <>< / div >" "

    $('#map_canvas') .gmap ('openInfoWindow', { 'content': infocontent, 'maxWidth': 300 }, this);

    });

    }

    })

    }, i*700);

    });

    });

    });

    Figured it out (or a solution that works) move the infowindow build in the infowindow will stll build call weather

  • Load the content problem (address)

    Hey

    I hope you can help me...

    I created a site in Flex 4 that load the content of a database. Site but fine...

    the address is: http://coldhawaiispotguide.com

    But if I type the address with "www".

    Example: http://www.coldhawaiispotguide.com

    The site failed to load content?

    Are there some who have an explanation for this problem?

    Thank you

    Troels

    Flash security both URLS are not equivalent and therefore a security boundary

    will be in effect.  You can use a crossdomain.xml file to manage different

    ways to express the URL if you do not find a way to make them all use the

    exact same domain name.

Maybe you are looking for