JQuery :: Handle ActiveX Events In It?
Feb 3, 2010How can I handle ActiveX events in jQuery?
View 1 RepliesHow can I handle ActiveX events in jQuery?
View 1 RepliesI am trying to "ajaxify" my site. Now I have one problem:
$("#posts").children().remove();
$("#tag-sidebar").children().remove();
$.each(data.Tags_Sidebar, function (indexInArray, valueOfElement) {
var insert = $("<li>");
[Code]......
Now when I click one of those links (href1, href2, href3) generated, the click event won't execute! What's the problem? Also, is it right that I have to transfer the valueOfElement over, like I did? What does stopEventPropagation do? Prevent the href from being navigated to? That's what I am trying to do.
The data object is JSON fed from here:[URL]
The HTML is here: [URL]
After upgrading to jQuery 1.3.2 users of our application will be prompted with a confirm dialog: "Do you want to allow software such as ActiveX controls and plug-ins to run?" The users have to use IE6 (yes I know - but this is a very restrictive and old fashioned corporate environment and I have no influence on the browser configuration). Replacing the content of jquery-1.3.2.js with the content of jquery-1.2.6.js immediately fixes the problem. But we would like to avoid that if possible. Is there any known solution to this?
View 3 Replies View RelatedI have a web page which contains a legacy ActiveX control (I know...) and am having a problem with the ClueTip plugin. Whenever a tooltip is displayed which should obscure the ActiveX it instead is drawn behind the ActiveX control. I have tried setting the value of cluezIndex to 1000, and also tried adding "<param name="wmode" value="transparent" /
View 1 Replies View RelatedI facinga strange problem. I have developed a active-X control to play video on the top of VLC player in C# It contains a windows panel in which video is displayed Its is placed in a DIV tag , like this :
[Code]...
I have a series of images with an animation bound to mouseover and mouseleave events, and I'm trying to get my head around adding a click event that would prevent the mouseleave animation from occurring only for the image that was clicked, preserving everything else as is (until another image is clicked). I've discovered .stop() and I think I'm getting close, but some part of the logic is still escaping me.
View 3 Replies View RelatedI'm new to Jquery. Its really funky. But Im having an issue now. [code]...
So I have a list of buttuns. they all have the same name. name="Replace"
Each id is Replace1, Replace2, etc
I want to get a handle on the id of the button that was pressed
I have tried the following combinations [code]...
I was developing a very simple application, just for training some Ajax. It works like that:
» I make a search using Ajax and it gives me a list with a lot of cities according to their state;
» After receiving the data, I can only manipulate the first DIV (that contains the city data).
The problem is that the city boxes (DIVs) has the same ID and, when the jQuery function is set (to send the address to an input that will make a search through Google Maps API), it only works for the first DIV. Then, if I search new cities, it works, but the same manner :(
Check out the screenshots:
[url]
[url]
[url]
[url]
So... I can only handle the first DIV among all the anothers, because they have the same ID. I have already tried the .each(), .unique(), creating an array...
I would like an event to fire every time text changes inside <input type="text" /> element. Meaning a user types in a letter, and the even fires immediately. Is .change the wrong thing? Because it seems to fire every time the focus is lost, or gained and the text has been changed. Is there anything that can run as soon as any letter is added/removed from input text?
View 9 Replies View RelatedI am using protype for valadation and Jquery am using for calendar, Here is my script ,
[Code]...
i wants to know that how to handle cross domain error which are giving by jquery in Mozilla.
View 1 Replies View RelatedHow to handle when element is removed from DOM?
View 1 Replies View RelatedIn HTML code I have this situation:
<div id="nam1" class='nc1 nc2 nc3 hidden'></div>
<div id="nam2" class='nc1 nc2 nc3 hidden'></div>
I would like to remove "hidden" to class value which class valuestarts with "nc1"I tried the following jquery code, but it doesn't work.$(.nc1).removeClass('hidden')
I would like to monitor the innerhtml change of a div, what is the best way to accomplish this since it does not have an onchange event.
View 1 Replies View RelatedI have 3 divs
Now say my page is 800x600
So when the page loads #div1 and #div3 height = 390px and #div2 height = 20px;
What i want is when #div2 is draged it resized #div1 and #div3
E.G
So when that happens i want #div1 = 290px and #div3 = 490px
And vice versa now this is the code i have for my site
But this dose not work for me its never setting #dragBar top to 0px and not resizing any thing.
Today I am migrating my apps to jquery 1.4 (production mode), but somehow my page that use mouseposition script is doesn't work. Then i am downgrade to 1.3.2 and everything works! What the problem in my script or in 1.4.
This is demos :
using 1.3.2 : [URL]
using 1.4 : [URL]
I have a form with 12 fields. This form submits the information for registering a student for courses that we offer. Currently, it only handles one registration at a time and is kind of clunky.I want to present the user the capability to register more than one person at a time. Essentially adding multiple users' info at once before submitting the form.I also want to have an area above the form that shows a list of people that they enter in a select,which will later be modified to have checkboxes so they may remove them, if needed.
View 2 Replies View RelatedI have the following array
var arraydata={NOT1NO:{ field1: 'NOT1NO',field2: 'DURcy',field3: 'valuta',field4: 'INF'},NOT2NO:{field1: 'NOT2NO',field2: 'DURcy',field3: 'valuta',field4: 'INF'}};
I easily access parts of the array like arraydata.NOT1NO.field1.
But if for some reason I try to access a part of the array that does not exist, like arraydata.NOT1NO.field22, the whole script stops to function. Is there a way to handle this? For instance:
if (arraydata.NOT1NO.field22 DOESNT EXIST) {do something} else {do something else};
I have tried .length, .inarray but not found a working solution.
I have a checkbox inside a div. I need to handle both click eventindependently. When I click on the checkbox, thediv click event is triggered too. Does anyone knows how to manage this?
Here is my code. When clicking on the checkbox, I get 2 alert boxes instead of 1.
jQuery
$(document).ready(function(){
$('div').bind('click' , function(event){
alert('a');
});
$('input').bind('click' , function(event){
[Code]...
I just started to learn jquery and met this problem: I would like to use .ajax to send a http request. For example: I got the code like the following
[Code]...
How to handle "onMouseOver" event with keyboard. With JQuery, "onMouseOver" on a "plus symbol", small banner with some text content will be shown, it has been working with "Mouse(input device)", but same effect has been expecting from "keyborad" tab ordering on to that particular "plus symbol".
View 1 Replies View RelatedDoes tablesorter support nested tables? I'm only trying to sort the outer table, but tablesorter seems confused by tables nested within my <td>'s.
View 3 Replies View RelatedI have this sort of image gallery where you can drag and drop images around. CLients should be able to do this in order to determine the order in which images are shown on their website. All images have a unique id and a order number. It is my first time I use jquery, the sortable part was easy to find out but then what happens? I have to find out how to get the 'new order' and how to store it in database. I am using ColdFusion. My idea, either I store the new order each time one moves an image around either I let them move like they want to and ask them to click a button to confirm. The structure of the document is a <ul id=sortable> then each image is <li>.
View 1 Replies View RelatedI am having 2 datepickers on the same page. One is name datePicker1 and the other datePicker2. I am actually having the code
$
(
".ui-state-active"
).
[Code].....
I want to have the above code to work only for datePicker1 and not datePicker2. Actually, the problem is that the code is working on both datepickers. How can I make it work for only datePicker1?
How to handle error in .find() if nothing found in XML nodes
What I mean is: I request for XML file :
$.ajax({
type:"GET",
url:"myXmlFileOnServer.xml",
dataType: "xml",
[Code].....
so nothing happens at all (after request is done (NO problem with request) - 200 OK )
I have a page that relies on AJAX for content manipulation. Once a person selects a radio button, a request is made through $.getJSON() to get the replacement content. This works in all browsers. Once the new content is loaded, there are 3 more calls to $.getJSON() to change more content (on other tabs in jQuery UI). This works in all browsers except for IE.
I understand this is a Microsoft problem, and not a jQuery problem, but I am wondering if there is a way to manipulate the jQuery calls to get them to work in IE. I did try replacing $.getJSON with $.ajax, and even set async to false. None of those three methods worked in IE. I noticed the problem when my loading div was still displayed in IE. Using Firebug Lite, I saw that only one request was made, rather than four.