Hi All,
I have a javascript variable something like:
var str = "AA,BB,CC,AA,BB,DD";
var totlength = str.split(",").length;
var xx = str.split(",");
for (var i = 0; i < totlength; i++) {
alert(xx[i]);
}
and I could print this value using above method.Now the problem is I have to craete on...
Hi Guys!
I have some html code like this.
<a href="http://www.google.com.pk" id="goog" title="<table width='20%' border='1'> <tr> <td>ABC</td> <td>DEF</td> </tr></table>"> Go to Google </a>
I want to call alert function when user will hover to table td tag which is inside to Table and table is inside of tag.
Is it possible with...
I've got the following code (based on this page):
<script language="javascript" type="text/javascript" src="/js/jquery.js"></script>
<script language="javascript" type="text/javascript" src="/js/jquery.sparkline.js"></script>
<script type="text/javascript">
$(function() {
alert($('.test').html());
$('.test').sparkline();
});...
I am thinking of applying a new page to the admin section on my website and I wanted to make one page with three tabs ( picture should be included ) is this possible using jQuery.
Thanks a lot.
...
how to dynamically redefine columns in flexigrid?
i have tried the followings:
model = [{ .../*some new columns model*/ } ];
target.flexOptions({colModel: model});
target.flexReload();
without any luck :/
...
Hello
I'm trying to simulate the effect where I hover on an image an overlayed semi-transparent image will fade in from the direction where your mouse came from. Vice versa when your mouse leaves the image (fadeout + moves away)
I've prepared a test page for this. Go ahead and check it out, it will clarify what the desired effect is.
...
Hello everyone!
I'm trying to make a very simple grid plugin myself. My problem starts when I want to allow the user to change the columns order (not sort the table rows, change, e.g. the first column to show at the all right of the table). I'm using jQuery UI sortable but I found out that when the user starts dragging a th, jquery ui a...
I am working on a site with an image rotator (using jQuery Roundabout). I have set it up in jQuery that when you click on an image, it displays certain content associated with that image using the following code:
$('#brand-cou').click(function() {
$('#brand-details .detail-section').fadeOut(0);
$('#detail-country-squire').fade...
Hi Everyone!
I recently ran into some troubles using JQuery Draggable and Resizable plugins. Looking for solutions, i found some very fragmented code in many different places and finally filed down to a clean solution which seems to work almost perfectly for me.
I thought i'd share my findings for anyone else, should they come accross ...
I have the next code:
document.myForm.mySubmit.click();
Where myForm - form name, mySubmit - submit name. I want to call submit of my form outside me form. My problem - my form doesn't have names(terrible?). How can I do this with help of id or classes?
Or may be you know another way?
Thank you.
...
I am having 3 input box, and i would like to dim the complete screen except the particular input box which is being clicked.
I tried this:
http://jsbin.com/equre3/2
But when i click the textbox everything including the text box get dimmed.
On text box click this is what i needed.
all div: opacity: .5
contactForm div: opacity .75...
Hi,
I am trying to develop a webpart which shows pages in parent-child-grandchild relation. Iam trying expand and collapse the children to show the grand children, but my code is trying to collapse parent when i try to expand child node. Iam posting my jquery and css files please help me if i am doing something wrong.
[updated]
I hav...
I have a DotNetNuke website that by default people use anonymously. When they want to login they click a link which takes them to /DesktopModules/AuthenticationServices/ActiveDirectory/WindowsSignin.aspx and then redirects them back to the front page.
On the front page is some jQuery which is designed to change the cookies created durin...
hey there.
i have put in a css box colored red and for some reason the very bottom left is cut off is there an explanation
(picture below)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="C...
A customer has a designer mockup of a form button that shows a right facing triangle character after the main text, but I can't seem to get this showing. The offending markup is;
<input type="submit" value="Add to basket ▶" />
This should look like 'Add to basket ▶' (if it renders in your browser).
Is this possible or am I doin...
I have an ASP.NET page and I am trying to quickly match the validation controls that are tied to a particular textbox (text input) using a jQuery selector. The validation controls render as a span and the "controltovalidate" property renders as an expando property. Here is a test example:
<html xmlns="http://www.w3.org/1999/xhtml" >
<he...
I've got a Jquery function that I wrote which blacks out the screen after a certain amount of inactivity, creates a pop-up that allows the user to click a button to stay logged in, and logs them out (closing the application window) if they do not respond in time.
The environment is ASP.NET (VB). We don't technically use master pages, b...
I have the following javascript which I need to make dynamic.
data.addRows(2);
data.setValue(0, 0, 'name goes here');
data.setValue(0, 1, value 1 goes here);
data.setValue(0, 2, value 2 goes here);
data.setValue(1, 0, 'name goes here');
data.setValue(1, 1, value 1 goes here);
data.setValue(1, 2, value 2 goes here);
I guess a loop ...
I'm writing a jQuery plugin that stores some data in some cases.
I'd like to write it in a very flexible way, where I'll can change an input parameter to obtain some value that were stored by the plugin.
Explanation:
When I call $("#any").myPlugin(), my plugin initializes creating a div and some a inside.
Clicking on an a will store i...
How can I take a JSON object and convert it back into the original string format?
Thanks
...