JQuery :: ActiveX Confirmation Popup In IE With 1.3.2 But Not With 1.2.6?
Apr 2, 2009
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?
I have setup a page that pulls rows of information from a MySQL database and formats it. There are options to delete or modify these row's just using links to a page that is passed required information to delete that specific row. I am attempting to setup a popup confirmation using javascript and have ran into some issues.
The code for the popup works properly seperate from the php code but I am having issues passing variables through the page to make sure the correct row of information is deleted. I will admit that I am relatively new to Javascript but understand it relatively easily.
Here is the javascript code with functions for the popup.
This is the Php code pulling information from the database and displaying it on the page.
Notice that I am using a while() loop to pull and organize the data from the database table. Also I am using a button that onClick performs the confirmation() function which should unhide the hidden popup div.
Here is the code for the hidden popup div.
As it stands I am not sure how to pass the correct $id and $name to the hidden div. The way it is now it will always show the last row of information loaded from the database. Also currently the delete button doesn't seem to do anything, it doesn't show the popup that is.
I have moved the page so that it is accessible and can be found at [url]
I'm using an ActiveX control in my html page.. Each time i load the page ie pops a message box to allow the activex to run or not. Is there any way to handle that message box using javascript. Or is there any other way to avoid that message box because each time the page loads I have to give yes and then proceed. By default I've to give yes is there any way to handle that using javascript.
I 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" /
I 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 :
I'm using the jquery validation plugin and when all the fields of the form are correct I want to show a dialog that inform that the data will be submited, the problem is that the dialog just show for about 1/2 second and the form is submited, how can I do some kind of delay or pause before submit the form to show the confirmation.[code]
I have a table with edit and delete buttons on each row, I have managed to get modal dialogs working with the following code, the links that invoke the dialog each have a unique ID like so:
<a href="#" id="1234" class="dialog_link">Link text 1</a> <a href="#" id="5678" class="dialog_link">Link text 2</a>
When the dialog is closed I need to call a PHP script to actually do the delete bit and I am stuck on that!
I am new to jQuery and trying to write my first script. I found this cool tutorial on making a form that has a twitter style confirmation bar that slides in from the top.The problem is that I can't make it work. For some reason the bar does not slide down from the top when you hit the submit button.
I have a form on a page that allows users to enter/edit and delete calendar events. The form is handled with Alsup's .ajaxForm plug-in [URL]. I would like to add a delete confirmation to the functionality in the form of a "Are you sure?" dialog box. Regardless of whether I open the confirmation in the "beforeSubmit" callback or a separate button.click function, the problem is the same: the "beforeSubmit" callback isn't waiting for the confirmation dialog to close.
Here's what I have so far: var fr_confirm = false; var d_confirm = $( "#dialog-confirm" ).dialog({ autoOpen: false ,closeOnEscape: false ,resizable: false ,modal: true ,buttons: { "Delete content": function() { fr_confirm = true; $( this ).dialog( "close" );}, Cancel: function() { $( this ).dialog( "close" ); }}}); $('#form_review').ajaxForm({ url: './includes/save_event.php'
,beforeSubmit: function(formData, jqForm, options) { // grab the text of the button selected - the last item in the data array var b = formData[formData.length-1].value; if ("Delete" == b) { d_confirm.dialog('open'); if (fr_confirm) { fr_action.val('delete'); var rid = fr_edit_rev.val(); } else { return false; }} else if ("Reset" == b) { Form_Review_Reset(); return false; } else { // submit // form data validation ... }} ,success: function(json, statusText, xhr, $form) { // post-submit callback ... }});
The first-to-mind hackish idea of while (d_confirm.dialog( "isOpen" )) {} Only causes the browser to hang. And setTimeout would also fall thru without waiting for the response. And I ~really~ don't want to use the old alert() function, even tho that is precisely the functionality I want to mimic.
I'm going to preface this by saying I know next to nothing about implementing jquery. Thus far, I've just been very lucky and able to figure out a few things on my own.
I have a simple form on my site that, upon clicking "submit" calls a PHP file.
I'd like to have a modal dialog box open when you confirm submission(like this.... [URL] but can't understand how to target the submit button to make this happen.
[URL]
I already have jquery script on my page but dont know what to do from here.
I have a site with several external links which need to have a link warning dialog when clicked. I am trying to pass the link's href to the modal confirmation so that when a user clicks 'continue' they go on to the new URL--or standard 'cancel'I have this code so far (cobbled together from a few sources--I AM A NOT A PROGRAMMER!!!!), but the dialog is not triggering (links just go to new URL without dialog popping up) (linking to Google API version of jQuery):
I add multiple items with each click and then I want to remove them one by one by clicking. All is ok, but if I add 2-3 items and the click the first one, confirmation alert fires multiple times when i click Cancel. The number of times depends on how many items goes after curent.
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/ TR/html4/strict.dtd"> <html>
i'm trying to make jquery UI's button and dialog plugins work with my form. i want the reset button
[Code]...
then on a Continue response the button should continue with its original purposewhich doesn't happen. i get a return: false type of behavior w/o return: false anywhere. can anyone point me in the right direction?
I have protected my cookies by setting them to httponly, but now I am trying to check them through jQuery without sending a AJAX request that checks if the cookie exists using PHP then returns the confirmation (slower). So is there a way to read my own cookies only using jQuery?
Im supposed to write an activeX dll that will be called by javascript (with the OBJECT TAG) and was wondering if its supposed to have any special features or its a regular activeX dll.
Also I would like to know if it matters if its written in C++ or VB, and if someone has sample C++ code that does this i will be grateful to see!
I have JavaScript code, that exports a HTML table to MS Excel.
This works fine on my development (local) server, however, it fails to work on my 'live' IIS server. Once I click on the Export link, I confirm the "Export to Microsoft Excel?" message, then nothing happens. I am not sure if MS Excel needs to be installed on the server or not?code...
I am currently detecting for Shockwave within IE by doing the following:
var isInstalled = false; if (window.ActiveXObject) { var control = null; try { control = new ActiveXObject('SWCtl.SWCtl'); } catch (e) {
[Code]...
This works as expected and if it fails to detect Shockwave I tell the user to install Shockwave.The problem comes when AcitveX is disabled as it still returns the same message that it's not installed. I would prefer to be able to include an extra step to detect if ActiveX is disabled, in which case I can tell the user to enable it rather than giving them false advice. My only idea would be to detect for an ActiveX Object that every IE user should have installed.
I have JavaScript code, that exports a HTML table to MS Excel. This works fine on my development (local) server, however, it fails to work on my 'live' IIS server. Once I click on the Export link, I confirm the "Export to Microsoft Excel?" message, then nothing happens. I am not sure if MS Excel needs to be installed on the server or not?
<script language="javascript" type="text/javascript"> function ExportToExcel() { input_box=confirm("Export to Microsoft Excel?"); if (input_box==true) {
I thought I'd post this and see what you guys think (go easy on me :)). Anyway, my teacher gave the class a project to see if we could make a hangman game with an ActiveX object's draw methods and some good ole' DHTML. I've always wondered why javascript doesn't have any draw methods or graphics objects like Java has.
I suppose SVG will take the place of activeX and Flash... hopefully. Once we had the right object id it was a piece of cake (I found it by the way). Anyway, here's my program. I would've put the code in this post but I have a few includes and graphics that go with it. Best viewed in 1024 x 768 resolution, and IE only (of course).
I have a windows media file that I want to play on a webpage but the stupid activex content blocker keeps on poping up. I have heard that there is a way of getting around this or to preload the content. Does anyone know how to do this?
I built a form that utilizes arrays for storing data, prototype objects stored in arrays, and DOM using getElementByID and getElementByName. Now, in XP SP2 with the security center turned on, I get alerted by IE6/7 that there is an ActiveX script on the page and it asks to be allowed.
I don't want users IE to see this ActiveX warning. First, the users going to be using this form are not exactly tech savvy enough to know to allow it. Second, I had no idea JavaScript was related to ActiveX--which begs the question, what sort of things cause JavaScript to be flagged as ActiveX?