I'm building mobile widget based on javascript and html for which I need a calendar module build on javascript. I tried UI datepicker but its quite slow when runs on phone. any suggestion is going to help me alot.
...
I have used onbeforeunload confirmation in my website, it works fine in all browser except in one case. When I change the location of the browser by window.location.href = requestUrl, in javascript. At that case if I click the cancel button of the confirmation box, in IE it gives Unspecified error.
Can anybody help me, how can I avoid ...
Hello, i have a table and i want the data from the cells to be printed onto a input field when i click the a specific table cell using the "onclick" command. i was thinking about getdocumentbyid or something like that
greet
...
Hello,
I have a jQuery-Script to accomplish the following tasks:
if a gridview in my form contains a row with a certain id, it has to be
marked red.
a confirm dialogue has to pop up to ask the user if he wants to do this or that.
I built this code:
if (response == "EntryInList") {
$('#entryListContainer d...
I have 2 arrays for the dates. I don't understand why the first element works, and the second doesn't works. That is the same function. Second and third (4th 5th... etc ) should work. I don't understand. Maybe it's bug of datepicker, because I also cannot use the onChange function.
[2010,8,10] - [2010,8,15] -> works
[2010,7,10] - [2010...
Hi all,
I have tried looking a similar question on here but couldnt find one so here it comes:
I have this html (ignore the "+whatever+@", its in a codebehind file so im putting some variables that im getting from there):
<div id='ReferenceContainer"+UniqueID+@"' style='background-color:"+BackcolourOFF+@"; width:"+CompWidth+@"; height...
I have a problem with fckeditor, it shows in all the browsers but doesn't show in safari. Does anybody have a solution?
...
I'm making a snippet that people can add to their web sites. My problem is that it invokes the yellow "ActiveX" bar at the top in Internet explorer. I'm not sure what invokes it. This is my code:
<a id="nhl1" href="http://www.theaddress.com/">link</a>
<script type="text/javascript">
(function () { document.getElementById('nhl1...
as follow codes:
<div id="outerBox" style="border:1px solid red;width:300;height:300" onmouseout="alert('out')">
<div id="innerBox" style="border:1px solid blue;width:50;height:50">inner</div>
</div>
why when i move mouse on the "innerBox", it was trigger alert('out') ?
i want mouse out "outerBox" trigger alert('out') only, mouse on ...
Hi,
I have a map where DirectionsRenderer() finds route from one point to another. This works fine. In addition I fetch GeoRSS from Flickr and it shows the geotagged images in the map also correctly. BUT the flickr markers are not active.
How can I get those markers active? To open the flickr image in InfoWindow.
It works correctly if...
Hi,
I've come up against a weird problem when trying to cancel a form submit when the enter key is pressed in a text box.
Using the code below the form always submits when enter is pressed after I close the alert. If I comment out the alert the form no longer submits on enter, the desired result.
<input id="myTextBox" type="text" o...
I've created a price/distance calculator for a local taxi firm and currently it calculates the cost of a journey between 2 selected points. I'm trying to add the ability to select more than one destination but I'm having difficulties.
I've created the form, which has 3 points - a pick-up point, a destination, and an optional way point ...
Hi,
I am a little stumped with how to do this.
I am using jQuery and wish to encapsulate certain sets of divs with a div.
For example I have:
<div id="groups">
<div class="group-1">x</div>
<div class="group-1">x</div>
<div class="group-2">x</div>
<div class="group-2">x</div>
<div class="group-3">x</div>
</div>
...
I'm trying to stop items being selected when the next button is clicked in the jCarousel plugin.
To see what I mean, have a look at this demo and double click the next arrow...
jCarousel demo
I tried this code and it seems to work for IE and Mozilla but it doesn't work for Safari or Chrome...
/**
* Fix carousel selection
* http://...
hello, i have following function:
function delete_auswahl()
{
var anzahl =document.getElementById ("warenkorbfeld").length ;
for (var i =0; i<=anzahl; i++)
{
if (document.getElementById ("warenkorbfeld").options[i].selected==true)
{
if (document.getElementById ("warenkorbfeld").options[i]...
Hi there,
i have a problem understanding how this could/should be solved.
I have two functions. In the first function ( I call it loadData() ) I'm doing an asynchronous request to the server to load some data.
In the second function ( saveData() ) I'm also doing an asyn request to the server to write some data. In the callback of this...
Google can't find much user documentation for XPCOM. Sure, it can find endless references to making new XPCOM components in C++, but that's utterly useless to anyone who needs to know how to use the existing components from JavaScript. This is a huge gap, occasionally touched on by trivial examples of creating an instance and calling a m...
I have a site which is built in ASP.net and C#. Let's call it webapp. it uses a Form system to log on into it, and cannot be changed easliy.
I got a request to change the log in to some kind of windows authentication. I'll explain.
Our windows login uses active directory for users to log into their windows account. their login name is s...
Hello all,
Does anyone know how to fix the problem about Tinymce Line break problem on Safari and Chrome.
For example, Let's say, I have two line pure text. When I copy and paste through firefox or IE. It's under one p tag. So it's same formatting i saw in the text file which is two line.
But if i copy and paste through Chrome or Fir...
How can I convert a JSON string to an object in JavaScript? Is there a method that does this?
Something like:
var x = "{ id: 5, name: 'hello' }";
var y = /*something*/(x);
alert(y.id + " " + y.name);
...