Hi...
My XHtml that id displayed to the user will be something like below one..
<html iTag="d1e1" version="-//W3C//DTD XHTML 1.1//EN">
<head iTag="d1e3">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title iTag="d1e5">Every document must have a title</title>
</head>
<body iTag="d1e9">
<h1 iTag="d1e1...
My array contains the values with comma as separator, like
array={raju,rani,raghu,siva,stephen,varam}.
But i want to convert into the below format like
array = {raju:rani raghu:siva atephen:varam}.
please give some logic to implement this one.
...
I'm having trouble with a short script used to clone a group of controls in a form.
This script works fine in Firefox and Internet Explorer 8, but doesn't work as I would expect in Internet Explorer 7
The script makes a deep copy of the specified node, renaming every name/identifier that ends with a number, incrementing the numeric part...
Hi folks,
I really would love to scale webpages down or up. Is there any way I can implement this?
...
hi,
I'm working on a Actionscript 3.0 to Javascript-converter.
I tried to find a way to circumvent the problem with the order of definitions, because it doesn't matter in AS, which package is defined first. To my surprise the following code works, although the prototype of A is defined after BA inherits from A:
javascript (example outp...
Hi,
I have a page that contains an IFRAME with src to page 1 I then created a button on the parent page that switches the IFRAME source to page 2.
On Chrome when I hit the back button it directs me to the history page of the parent page instead of just redirecting the IFRAME content back to page 1.
Has anyone seen this behavior? does i...
i need upload a file in Chrome, and need post some params at the same request, and need Basic Authentication.
i want use javascript AJAX to do this.
but chrome do not support sendAsBinary, how can i do this?
function sendMsg(status){
var user = localStorage.getObject(CURRENT_USER_KEY);
var file = $("#imageFile")[0].files[0];
...
Hallo,
I have to write a little java script and have no idea how and I thought that for a real JS Programmer it would be real easy to just tell me instead of me searching the web for hours.
Simple Problem:
I have some boxes with name TrackSelectPos_1 - TrackSelectPos_7.
If one of those change I want to check if the value of the box is...
I'm trying to animate something using jQuery. You can view it here
UPDATE
I have it working the way I want it. This is the jQuery:
$(document).ready(function() {
// go chat button
$('#go-chat input').click(function() {
$('#search, #go-chat').animate({width: '0px'}, 1000, function() {
...
Is it possible to determine if the user has selected a file for a particular input type="file" field using javascript/jQuery?
I have developed a custom fieldtype for ExpressionEngine (PHP-based CMS) that lets users upload and store their files on Amazon S3, but the most popular EE hosting service has set a max_file_uploads limit of 20. ...
I have a parameter for a method, that should be a string and I can't come up with how to <% *.ClientID %> to the thing as a variable like that. Since its a variable i can't wrap it in quotes since it will be taken literally and when I use the parameter like a variable (as you're supposed to) i get an ASP error saying it doesn't exist in ...
Hi folks,
any good framework I can use to listen for touch, swipes and pinch actions?
Ideas would be awesome! =)
...
I need to get the URL search paramentes in an object, for eg; http://example.com/?a=x&b=y&d#pqr should yield {a:x, b:y, d:1}
Below is the method i used to get this, How can i improve this? any suggessions...
var urlParamKeyVals = new Array();
var pieces = new Array();
var UrlParams = {};
...
How do I make the text disappear like the way some fields work here on stackoverflow once I start putting in text? I tried out the different 'on'-actions in HTML but that didn't really do what I wanted.
Thanks.
...
Hey all,
I'm trying to create a textarea that will highlight some keywords as the user types in there. I understant textarea can only support plain text and that I have to use a 'rich text' editor in order to achieve this. I would like something really simple though and not the bloated 'rich editors' out there. Any ideas?
Thanks!
...
I have a web page with animations (JQuery Animation) all over the place. A typical animation sequence may contain three or four objects animating independently at the same time. The issue I am facing is that the queuing of the animations is not predictable. Some of the animations are running simultaneously while some others are not.
I a...
I'm trying to understand why Css3Pie used in conjunction with Prototype 1.6.1 crashes Internet Explorer 8. Why is this happening?
Relevant information
CSS3Pie [source code] is an Internet Explorer behavior (htc) that adds support for CSS3 properties like border-radius, gradients, etc.
The crash only happens in IE8, not IE7 or earlier....
Javascript noob here (I'm assuming I will need Javascript to solve this).
I need to make a page which directs a user depending on the selection they make from two dropdown lists.
Lets say I have a form with two lists:
A contains
<option>1</option>
<option>2</option>
<option>3</option>
B contains
<option>1</option>
<option>2</optio...
In a javascript function i use document.body.clientHeight to get the height of the body. Now depending on the mode IE8 is in i.e quirks or standard, the value is different.
Example
In quirks, document.body.clientHeight = 800px
In standars, document.body.clientHeight = 650px
Hope i've made sense.
Please help.
...
Hello,
Another newbie question. I would like to be able to import a .CSV spreadsheet from Google Docs into javascript so that I can parse it, and then extract the bits I want into an array.
I can do the second bit, but what I can't work out is what to write to pull in the .csv using the Google Docs
URL so that it's available as a stri...