How to access the parent page elements of an Iframe.
How to access the parent page elements of an Iframe. e.g. If i have a page index.htm and another page in an IFrame in index.htm and want to access the elements of index.htm from that IFrame. ...
How to access the parent page elements of an Iframe. e.g. If i have a page index.htm and another page in an IFrame in index.htm and want to access the elements of index.htm from that IFrame. ...
I'm implementing a file upload service in my project I have java script code that fetches the files as a list of files to be uploaded to a server. In order to get file upload working I'd like to ask how I would retrieve the list of the files after the max 6 files have been specified by the user? To start with I know that list would b...
I can select a node using jQuery with something like $('#element_id') but how would I get the DOM element for use with non-jQuery functions that expect something like would be returned by document.getElementById()? ...
HTML: <ul class="topnav"> <li><a href="#"><span>One</span></a></li> <li><a href="#"><span>Two</span></a></li> <li> <li><a href="#"><span>Three</span></a></li> <ul class="subnav"> <li><a href="#">A</a></li> <li><a href="#">B</a></li> <li><a href="#">C</a></li> </ul> ...
I'm extremely new to jQuery and JS in general. I need the script to scan a page and replace any images classed 'rounded' with a wrapper div so I can apply rounded corners through css3. The code I've done works perfectly except if there's more than 1 image on the page, it just returns the first image 3 times instead of 3 separate images....
Hi, I am having a strange issue with jQuery (1.4.2) and Colorbox (1.3.6). I have an hyperlink inside an Obout grid created via a GridTemplate. The issue is with a dynamic href that I am executing with JQuery as follows: The grid hyperlink passes the Primary Key of a record to this function where I change the href of a link than open...
public static native void doConnect() /*-{ $wnd.jQuery(document).trigger('connect', { jid: 'sss', password: 'sss' } ); }-*/; i tried the above ,but there is no error in firebug or gwt hosted mode console(so i cannot know ...
Hi folks I am trying to create a "simple" modal type of operation. When a user clicks on an image it opens a mask over the screen (done that) and displays the image (can't do that). This is ment to be very simple, no need for galleries etc. hence just a simple effect. The code generated for the mask is $j(document).ready(function(){...
The code below fetches a list of files that have been selected for upload. It basically appends input elements inside a div above a form element: <div id = "files_list"> </div> How do I store all the attributes names in an array - fileNamesArray - on clicking the submit button.? My attempt I'm yet to check if this works: // begin...
I'm working on a web app where I don't really have web hooks for hovers (think touch device). I can get x coords of exactly where the mouse is at all times. I need to check to see if the x coords of the mouse is over top of an image, and then grab that image I'm over top of. What I'm doing I'm using jQuery right now, and what I do i...
I'm using jQuery Selectbox plugin which has this function: function setupContainer(options) { var container = document.createElement("div"); $container = $(container); $container.attr('id', elm_id+'_container'); $container.addClass(options.containerClass); return $container; } ... it applies the same ID name to al...
I would like to implement a search box in my website that is similar/identical to that used on LinkedIn i.e. category search, auto-complete dropdown, etc. I would like this to be jquery + ajax based. Is their any code available for a LinkedIn-type search feature? If not, does anyone have good advise on how to re-create this serach funct...
Hi I have three cascaded drop down lists. ddlIllnessType, ddlIllnessSubType and ddlInfectiousAgent Initially, only ddlIllnessType is showing. On change, ddlIllnessSubType is filled with json data and made visible. So far, so good. Next, when the user selects a value from ddlIllnessSubType, a similar procedure runs for ddlInfectious...
Am currently evaluating the best RIA technologies to use for building a new e-commerce site. Currently there are two options we are looking at.One is the flexstore example where we intend to embed the intuitive shopping cart into our site or go full JQuery in providing the needed end user experience.We intend to use Zend as our server pl...
i am using jquery and doing something like this //dom <div id='parent'> </div> //js var _doSomeThing=function() { //some codes } $(function(){ //appending div and binding methods to span $('#parent).append('<span>1</span>'); $('#parent).append('<span>2</span>'); $('#parent span').bind('c...
Hello, I have two images, that I am using their value to insert into a db table. Do I Require a form or can I do without one. <form name="form1" id="form1" method="post" action="save.php"><input type="image" src="images/test.png" border="0" id="star_image" value="<? echo $some_value; ?>" /></form> <form name="form2" id="form2" method...
Hi there! I need to use JQuery in order to detect the changes on a text file, so some ajax is invoked. The trick is that I don't really want to bind this action to the blur or keyup events; The former is too cumberstone for the user and the second is "too inmediate": the user types new keys before the ajax call has been completed, so t...
I have a website on with MVC, which has a dropdown in the masterpage. The data in the database is linked to a Year. so every year we get a new clean DB to start with (or so it seems from the website, because the Year changed) The dropdown box lets you select the year you want to edit/see/go into. in the global.asax i have a method: ...
Hi, I have below code in Jquery $(document).ready(function() { // bind to cells with an ID attribute $("table > tbody > tr > td[id]").mouseover(function() { // grab the anchor from the LI whose ID starts with the cell's ID var $tooltip = $("div:hidden li[id^=" + $(this).attr("id") + "] a"); // append ...
I am new to jQuery and I have the following problem. My project has say 2 pages, 1.JSP and 2.html. Now I want to pick selected data from 2.html and use it on 1.JSP. Now this was achieved very easily using .load but I want the data to be present in a JavaScript variable rather than put it on the page (div tags, etc.), so that I can work ...