jQuery has served me well, it has given me an excellent introduction to Javascript but now I want to move onto something else. A good developer has a good knowlege of lots of different technologies.
So what frameworks should I move onto? I just want something good to put on my CV. There are so many out there and they all more or less ac...
Hi,
In my web app, I am using jQuery to select all the links on the page and intercept where they go to so that I can switch to a different part of the page with AJAX. The problem is that some of these links are in InfoWindows (if that's what they're called) on a Google Map. For some reason the jQuery selector $('a') isn't selecting them...
I came across the following code:
var f = function () {
var args = Array.prototype.slice.call(arguments).splice(1);
// some more code
};
Basically, the result in args is an array that is a copy of the arguments without its first element.
But what I can't understand exactly is why f's arguments (which is an object that holds...
I'm trying to use DOMParser, or XPath to get a XML fragment out of a document. A element with either DOMParser or document.evaluate returns an element with a null nodeValue, how do I get the xml fragment back as a string? Here's the example that I can't get to work in WebKit.
XML:
<fetch version="1.0" output-format="xml-platform" mappi...
I am calling the javascript window.open() function to load another url in a pop up. Once the users is finished it takes them to the last page that has a link that says close window that calls the window.close() function. Now when that page closes I need to update something in the original page that opened the window. Is there any way to ...
Hello --
I am trying to do some basic geocoding using the google maps API and a GWT dyanmic web project in Eclipse. For example, query the following URL:
http://maps.google.com/maps/geo?q=1600+Amphitheatre+Parkway,+Mountain+View,+CA&output=json&sensor=false
and get back the data for parsing. I am running into some confusi...
For anchor links i want to removes the dotted focus outlines for mouse events, but want to display them when for keyboard tabbed navigation.? Is there any javascript, jquery method?
Method should be compatible all A-grade browsers. including IE6.
Although all pure css methods to remove dotted lines do not works in IE 6.
But remember i...
Hi
I am wondering how do I first detect if Javascript is enabled/disabled. Disabling javascript on this site revealed that stackoverflow uses something called the tag.
Is this like the standard way of doing it? Does it work on all the browsers?Which browser versions does it not work on(ie IE6)?.
Do I just stick in the body or the hea...
Hi all,
My Web application makes use of Ext JS & Java web technology. Due to the size and complexity of the application, I need to
do a complete refresh of the page (load a different page) when user select some menu from the menu bar. What is the best what to redirect to the required page?
For example, In my main menu, I have two...
I want to reverse the string like this: "How are you" -> "you are How"
Those are the code I typed, it could reverse the string ,
but it still has comma between strings like "you,are,How"
var str = window.prompt("Enter a string");
var tokens = str.split( " " );
document.writeln( tokens.reverse() );
...
How to make a picture cropper? Only plain-vanilla JS!
...
I am writing a form to get data from boxes and do a calculation when the "Calculate" button is clicked. The button does the calculation through the function cal(),
but it cannot display the result in the countfield box.
How the display the result in the box? Also, how the name the function with "-"?
<script type="text/javascript">
func...
I have 2 comboboxs "combo1" and "combo2",
if i select any value in combo1, i need that same value in combo2 as "selected" by javascript
<html>
<head>
<title>combo</title>
</head>
<body>
<form name="testForm" action="" method="post">
<select name="combo1">
<option value="1">option 1</option>
...
Suppose a carpark charges a $2 minimum fee to park for up to 3 hours, then the carpark charges an additional $0.5 per hour for each hour. For example, park for 5 hours charge $2+$0.5+$0.5=$3
How should I calculate the fee use for loop?
...
I've been playing with phpDocumentor recently and found it quite suitable for my needs. I'm largely working with PHP/HTML/JS/CSS codebases and would like phpDocumentor to parse my Javascript (and perhaps CSS) in order to keep it all together.
I've managed to get phpdoc to parse javascript files contained throughout the codebase - howeve...
As you know, most of rich text editor use iframe to create WYSIWYG editor. In iframe contain document that is in design mode. I want to capture key down event when user press '@' character in rich text editor for displaying autocomplete for it.
By the way, i cannot see any fired event inside design mode. How to solve this question?
Tha...
Hi All
Is it possible to upload file in facebook fbml (not iframe) using Ajax ? not a complicated one but just use simple input type="file" tag wrap in a form and post the from using facebook builtin ajax. If can, then how to accept it in server ? I'm using rails facebooker as my backend and paperclip plugin as my file upload system.
T...
hi!! i want to create a simple text editor for a website which works something like forums.. eg. if the user clicks on font color(after selecting a particular text), the selected text should be wrapped around some text something like [FONT COLOR="some_color"]sample text[/FONT]
i don't wanna use tinymce, because it's mammoth for my needs...
Is it possible to access and trigger the tab loading image within a Firefox tab using jetpack? I want to create a jetpack that will trigger the tab loading image when it is performing a query but i'm not sure if this is even possible.
...
I want the submit action on a form() to be automatically fired when all input elements within this form are completed/filled. How to do it using ajax?
...