Karlos94 Posted September 25, 2010 Share Posted September 25, 2010 Right, well first off... I wish to create to be able to request information about Yahoo! weather, but I'm struggling. Just to help me out, I tried to copy and paste the source code from http://developer.yahoo.com/yui/examples/connection/weather_clean.html and use that. I've even copied the PHP required from the bottom of http://developer.yahoo.com/yui/examples/connection/weather.html. After I did all that, I tried to test it but when I clicked the button nothing happened? Anyone care to help me out here, as I'm not great with JS or even YUI! Quote Link to comment Share on other sites More sharing options...
Equinox Posted September 25, 2010 Share Posted September 25, 2010 So, you click the button and nothing happens? Care to show us what you've got, have you altered anything or is it exactly copied from the site, no modifications? Quote Link to comment Share on other sites More sharing options...
Karlos94 Posted September 26, 2010 Author Share Posted September 26, 2010 It is copied from the site, except the PHP file is in the same directory as the other file. However I have updated the inline JavaScript to reflect this. Quote Link to comment Share on other sites More sharing options...
Djkanna Posted September 26, 2010 Share Posted September 26, 2010 Hopefully this will help. Demo: Here! Source: Here! Quote Link to comment Share on other sites More sharing options...
Karlos94 Posted September 26, 2010 Author Share Posted September 26, 2010 Hmm, I saw yours work in action but it doesn't work on XAMPP.. Maybe I have a deeper problem than my initial thoughts.. Anyway, thanks for the help it was much appreciated. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.