I am trying to get Yahoo stock quote in the following way. but it does not work, can anyone tell where is wrong. Thanks!
<html>
<head>
<script type="text/javascript" src="jquery-1.3.2.js"></script>
<script type="text/javascript" language="JavaScript">
$(document).ready(function(){
$("#btn").click(function(event){
...
Hi,
This should be easy, but since I'm new to programming, specially in javascript, I cannot figure it out.
Let's say I have the following javascript code:
var InjectClientValue = Class.create();
InjectClientValue.prototype = {
initialize: function( sourceElement, eventElement, updateElement ) {
this.sourceElement = $(sourceElem...
I'm trying to build a site like http://justinouellette.com/. The only problem here is I'm confused with the code. I'd like to use JQuery instead of MooTools.
Can somebody here be an angel and write up a demo? I'd like to be able to switch between frames using hyperlinks. A frame would be a class.
Thanks!
...
Specifically. I am making an ajax app and trying to preserve the back button. My javascript is working properly and registering a new url in the address bar with an anchor-like hash in the url:
http://t2b.localhost/#/clients/
I can catch the url when the page loads with javascript and load the "clients" page, but I want to know if ther...
I was browsing around the web and I saw something I've never seen before.
on this site:
http://blogof.francescomugnai.com/2009/04/mega-roundup-of-geektool-scripts-inspiration-gallery/
When you navigate down the page, the images only load when they are in the visible portion of the browser.
I have never seen this before and was wondering...
how do you code a search box like the one in Tags where you enter a tag name and all tags are showing immidiately without you press enter.
can someone link me a script or tutorial for that. is it javascript or jquery? does it involve ajax?
and does it search in the database for tags? or is it searching through a xml file with tags?
...
hi. im a backend programmer who wants to have a window that appears in front of the current window when clicking "register".
so that you dont have to redirect to another page.
i think u guys know what i mean.
how do i do that? is it with jquery or javascript? is ajax involved?
and what is that kind of popup box called?
...
I found this forum thread in google, but no one here seems to encounter the same problem, so I would like to know if onsubmit='return false;' really fails in some IE7 browsers, meaning that it has become an unreliable method of preventing direct post back in an ajax form since the release of IE7, so we need to be very careful about using...
hi. in SO you can search for tags without pressing enter.
i want to know:
are the tags retrieved from the database or from a XML file?
is ajax involved?
i am new at front end. if ajax is involved. how should i write the code?
i want it to access a php file which returns the data. but im not familiar with how it works practically.
...
Hi,
I upload images to my App using Ajax and an Iframe. In Development everything works like a charm. But in production Nginx suddenly raises a 404 error. When I look into the log, the request never hits the Rails app. So I guess it has something to do with my Nginx configuration (maybe gzip compression).
The failing requests is send t...
Hi I have a js file that uses ajax to get a XML doc from a php script . The XML file forms the data to draw a Fusion Chart. I know I am getting the XML data ok but FusionCharts will not draw it . I would really appreciate any help , thanks
(FusionCharts.js is included earlier in my script)
if(XMLHttpRequestObject) {
XMLHttpRequestOb...
Lately I have been trying out Rails, and I came to love the respond_to.
Is it possible to do something like this in PHP?, responding to different types of requests. So it is easy to implement an alternate way even if javascript is disabled.
...
Hi!
I'm developing an upload form. It works fine with Firefox, but not with IE.
Here is the code:
if(hasError == false) {
$(this).hide();
$("#uploadForm").append('show an image');
$.post("_upload_form_process.php",{ filename: filenameVal, datasetdesc: datasetdescVal, datasetname: datasetnameVal},
function(data){
...
I'm using selenium-rc and I'm trying to click on a specific email on gmail in order to get into the email page. More specifically: on the gmail inbox, click on a email with a specific subject.
I can't find the correct xpath (none of the tags in the email part are links). Ideas?
...
Hello everyone,
I am trying to build a multi-window website for my bookmarks, but I have some problems.
Here is the js version of what I am trying to build:
http://www.students.itu.edu.tr/~ozyildiri2/zpwin/zapatec
Unfortunately, there are problems with this approach. The sites in the windows are loaded through iframes, and iframes hav...
Looking for guidance on how to achieve something in ASP.NET Web Form - the behaviour is a bit like that seen in ASP.NET AutocompleteExtender, but I can't find anything that gives the flexibility I need. Here is what I am trying to do:
2 TextBox fields on the form,
CompanyName and CompanyRef
(CompanyRef an abbreviated unique
Company ide...
Just wondering: Would it be acceptable to start some simple Ajax instant messaging (web-based) for a large social network service (considering thousands of registered users)? I am new to this, so I'm just wondering. What if to check for a new message every two or three seconds?
Edited: Could a plain shared server handle so many requests...
In javascript is it possible to trigger an action when a element (for example a div) is shown in the screen?
I have an "endless" grid that extends both horizontally and vertically, and I would like to load the elements dynamically using AJAX while the user scrolls.
Thanks
...
I'm having a mvc application which i use form timeout.
But i use ajax form all around the page.
So whn i make a ajax form post after timeout it gets the login page.
But i need to redirect the page even it is an ajax call.
How can i check the form timeout in JavaScript.
...
To dynamically fill DropDown controls on my HTML Form, I have written code that makes AJAX call to a .php file. This .php file populates the DropDown control with a single column value.
In this whole process, three files play the role.
(1) A HTML file that contains the entry form,
(2) A .js file containing basic AJAX code, and
(3) A .p...