Is there a way to run my own javascript after all JS files have loaded and ASP.NET javascript has finished initialized and loaded. I am currently using jQuery to run javascript after page load and that does not guarantee it will load after ASP.NET javascript. Thanks
...
I'm looking at this GMaps example, and I would like it to start with focus of keyboard (so I can navigate using diretional keys and '+' and '-' for zoom), is there a way?
The example code is:
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content=...
Hi,
I have a question below is a list with the anchor links now when the links are clicked I dont want the browser to go to that web page instead I want the browser to stay on the current page and display the list in an alert box to the user. I know this can be done with javascript maybe with the onclick event on the list item and displ...
I am trying to use the ArcGIS 2.1 JS API to create a custom interface that looks similar to Google Maps.
What is confusing me (particularly with Dojo's layout scheme) is how Google Maps has a map pane that extends the whole width of the page and has a left search results panel that seems to be floating above the map pane.
How does this...
I call a javascript function that dynamically builds <li>'s with a text input box and drop down inside. The drop down works fine with jQuery's Draggable but I cannot edit the input text box?
function addField(type){
var html = '';
html += '<li class="ui-state-default">';
if(type == 'text'){
html += '<b>Text Field</b><br />';
...
Greetings,
I've been working on a web-interface for some hardware that uses an 8-bit microcontroller. The web page uses HTML, javascript, JSON and XHR (XMLHttpRequest) for its communications. What I'm trying to do is create a page that updates every 250mS with new values from the controller using setInterval so that the web page gets u...
Hi, I am looking for java script web portal framework(Like asp.net web parts) to create drag-drop interface for my website.
Please suggest me good ones.
...
I've messed around with trying to detect how complex the query is (like if it's just an ID selector, it goes through getElementById instead and such) but this is clearly no way to do complex CSS queries and will probably fail on a certain few selectors.
So my question is to anyone who's done something similar, how did you end up replica...
Hi @all!
I try to get the following working:
I have a form containing selectboxes and inputs.
There are two buttons on top of the virtual keyboard - "next" and "previous".
Navigating through the input fields works.
When I reach a selectbox (by pressing "next"), the keyboard stays and the selectbox shows its items.
When I select an item...
Hey there,
I thought it would be a simple thing to hijack the space key when in a form input so that it would function like a hyphen. Generally jQuery makes stuff like this really simple.
The code I tried is this:
$("#StreamUrl").keydown(function (e) {
if (e.keyCode == 32) return 109;
});
But this has no ...
Hi,
I know this must be relatively simple, but I have a dataset of JSON that I would like to sort by date. So far, I've run into problems at every turn.
Right now I have the date stored as this.lastUpdated.
I have access to jquery if that helps, but I realize the .sort() is native JS.
Thanks in advance.
...
I'm learning Sproutcore at the moment to write my application on it.
The backend will only be a server that pushes json out to the frontend Sproutcore application.
I wonder how it will be when I use PhoneGap or Titanium to port my app to the mobile phones.
How much of the current Sproutcore application do I have to rewrite? Is it only...
Given the following array:
var things = ['sandwich', 17, '[email protected]', 3, 'horse', 'octothorpe', '[email protected]', '[email protected]'];
Sort the array into three others, one of numbers, one of strings, and one of valid email addresses. Discard the invalid address.
...
I came across some cross-browser weirdness while trying to integrate the ExtJs HtmlEditor into our project:
If you decrease/increase the font size in Firefox3.6, it wraps the selected text in a '' tag with a size attribute (e.g. 'visitor'). If you do the same in Chrome6 or Safari4, it wraps it into a '' tag with 'style=font-size...' att...
Using a watermark plugin for jQuery, I'm attempting to jslint and minimize the functions but I've come across syntax I have never seen before wherein there are expressions where there really ought to be an assignment or function call:
(function($) {
$.fn.watermark = function(css, text) {
return this.each(function() {
...
Hi, I am creating a page that allows users access to a certain section of my website if they click 8 out of 25 checkboxes in the right sequence.
First of all thanks to Reigel for the code, its way better than what I initialy started with.
My question is, can the javascript code I have be optimized. For instance, the clearforms function...
I'm trying to render a calendar with certain days highlighted. The code below should do this, but today isn't highlighted the same as the other days. It seems as though some default renderer is overriding my code.
YAHOO.phitbam.calendar.init = function() {
YAHOO.phitbam.calendar.cal1 = new YAHOO.widget.Calendar("cal1","cal...
Hello all,
I am using jCarousel Lite, and the documentation can be found here:
http://www.gmarwaha.com/jquery/jcarousellite/
I have a carousel that can be navigated using the arrows on either end.
I want to modify the carousel so that at the beginning state before the user clicks to scroll the slideshow, the left arrow is not present...
i have this css code that shows the photos twice, its wierd, is thier a better i can write this, the links are used to vote using jquery? :))
css code:
a.vote_up, a.vote_down {
display:inline-block;
background-repeat:none;
background-position:center;
height:30px;
width:30px;
margin-left:4px;
text-inde...
I am building a page that will require some sort of Intellisense/Autocomplete, is there any jQuery/Javascript plugins that you know of?
We are currently using a control similar to a normal autocomplete, where suggestions appear below the text area after writting a period (we then get the current token and do reflexion to get available m...