I have around 50-60 components and some of the fields are readonly. Now I want to set the tab index only for the fields that are read/write.
Now the problem for me is, some of the components will be added according to the selection in my dropdown list box. Those components that are newly populated also contains some read only text boxes...
Hi all,
I've got a wcf service that returns me an array of items.
I've got a javascript method that recieves the items and handles them.
I want to send the javascript function another parameter from the client side, an id of an object on the page.
Something like this:
function WriteSonCategories(selectedCategoryId, callback) {
...
Hi Guys,
Can anyone help me, I have a IE javascript issue.
I am really stuck and the client has just brought it to my attention.
The site is http://www.fleurofengland.com/, its the check out page so if you would be kind enough to goto the site, add anything to your basket and go through to the checkout.
The problem is when you get to...
I have extended GOverlay so that it draws small rectangular div at a specified location. But how to make it draggable using Maps API V2?
First I tried to just listen the mousedown/up/move DOM events of the div itself. While I got this mostly working, I thought that there has to be a simpler way of doing that.
I tried listening the "dra...
Is there a way to create a dynamic href using radio buttons?
radio = value1
radio = value2
radio = value3
<a href="test.php?value=radio">
...
I want to create a function to simplify configuration of jQuery UI AutoComplete. Here is my function code:
(function($) {
$.fn.myAutocomplete = function() {
var cache = {};
var dataUrl = args.dataUrl;
var dataSend = args.dataItem;
$.autocomplete({
source: function(request, response) {
...
I'm developing a firefox plugin and i fetch web pages to do some analysis for the user. The problem is when i try to get (XMLHttpRequest) pages that are not utf-8 encoded the string i see is messed up. For example hebrew pages with windows-1125 or Chinese pages with gb2312.
I already tried the following:
var uDecoder=Components.classe...
Hello everyone:
I will work on a search box with inspiration from Facebook where image thumbnails would be displayed besides the auto-suggested matches.
This is the goal : link to sample image
I wonder if there is any jQuery plugin that would just do this. I tried to search for a one but unable to find.
If there is no plugin for this...
Hello,
I was wondering what would be the best way to implement some kind of "drag n drop" user interface?
What i mean is that there would be one main page and every link click (eg. other sections like about, gallery, contact form) would open a new drag n drop element on top of that main page. Something like windows desktop where you ca...
I have a code that is a mmix of html and js. I cannot get it correct.
location.description + '<br><a href="javascript:void(0);" onclick="showStreet;">ShowStreet </a><br>'+ location.lat + '<br> + location.lng
Can anyone help me with it?
...
What happens when you add/remove the current site, while logged on, as a trusted site?
When users do this on our website, and then try to click on a link or close the browser, they get the following JavaScript exception:
"Microsoft JScript runtime error: 'type' is null or not an object"
in the below library code at the line "var etype...
This is the content on my view page and i want to replace the value from "0" when the monthfunc() is called...the monthfunc() is given below the view content
<tr>
<td>
<input type="submit" name="monthplus" id="monthplus" onClick="return monthfunc('monthplus');" value=">>>>>>">
<input type="hidden" name="monthnum" id="monthnum" value="1...
Exists an algorithm that calculate the position of nodes of a connected graph?
I like to draw the nodes of the graph as HTML DIV and have an algorithm that allows to positionate the nodes on the html page (using absolute position) according to the connections , like a mind map.
...
I'm using the YUI Uploader component and want to automatically open the browse dialog on page load so the user can choose a file without first clicking the upload button. Is this possible?
The uploader component is a Flash movie so I don't think it's possible to trigger a click on the upload button using Javascript.
...
I wrote a simple javascript function for validating to fields in a aspx page
function validate()
{
if (document.getElementById("<%=tbName.ClientID%>").value=="")
{
alert("Name Feild can not be blank");
document.getElementById("<%=tbName.ClientID%>").focus();
return false;
}
if (document.get...
I am passing lat and lng variables and display google sreet view in a div. The problem is that when the StreetView is unavilable then nothing is displayed. I would like to check if there is a streetview for a given lat and lng and display a message. Here is my code:
var myPano = new GStreetviewPanorama(document.getElementById("street2")...
I am using jQuery cycle in several galleries with #next #prev navigation and a image counter output.
Now I am trying to connect all these galleries together. If the user reaches the final slide of gallery A (galleryA.html), the #next anchor should point to gallery B (galleryB.html) / the #prev anchor should point to gallery C (galleryC....
Hello, I have some div-block. I need in scaling it's own size. Like in MacOS dock panel, when icon is hovered. Can I do this?
...
Hi Folks,
Firefox & IE's do have browser-settings where an user may allow those forbidden
cross domain calls.
My question: Is there a similar setting/option in Safari's and/or Chrome browsers?
Kind Regards
--Andy
...
Hi!
I have a website that must have javascript turned on so it can work
there is a < noscript> tag that have a meta to redirect the user to a page that alerts him about the disabled javascript...
I am wondering, is this a bad thing for search engine crawlers?
Because I send an e-mail to myself when someone doesn't have js so I can ...