Input Box inside an iframe
Hi, I have an input box inside and iframe. If i type and press the back key to erase the text, the back key event is taken as browser back and goes to the previous page. What could be the cause.? ...
Hi, I have an input box inside and iframe. If i type and press the back key to erase the text, the back key event is taken as browser back and goes to the previous page. What could be the cause.? ...
Good morning people I am attempting to clear all of my cookies, some of which are set on a server and some of which are browser cookies. I have tried using document.cookie = "" however this did not satisfy my needs so I wrote some Javascript code, which can be seen below The pauseClearAllCookies function is called onload. <script typ...
I'm working with a mess of HTML markup. In order to get reliable matches I have resorted to explicitly querying a chain of elements using the '>' operator. For this question I am attempting to select the parent of an explicit chain of descendents. For example, I'd like to select the table element with class 'toolbar' in the following H...
My javascript code is added to random websites. I would like to be able to report to my server when a (specific) link/button on the a website is clicked. However I want to do it without any possible interruption to the website execution under any circumstances (such as error in my code, or my server id down etc.). In other words I want t...
I have a HTML table with various rows, each have a delete button with a class. On the DocumentReady event I wire up all buttons with this class to handle the click event. On the click event it does a jQuery post which deletes data from the database and returns the table with the removed row. If I go to click another delete butto...
Hi guys, I'm trying to display a panel to the user when an asynchronous call is made, but only if that happend from a specific call. using the normal "get control" script I have mine like: function pageLoad() { try { var manager = Sys.WebForms.PageRequestManager.getInstance(); manager.add_endRequest(OnEndRequest);...
I have a php page, which using javascript, creates a popup window which contains another php page. the php page in the popup window is basically a form, and will use that value to insert into a database. Using the following function to load the php page in a popup: phppopup('edit_status.php?cmd=EditStatusData') function phppopup(page){...
I'm testing a page with Selenium IDE and want to execute a method already in the page. I've tried getEval(window.name.space.function()) but it just returns window.name is undefined. Is this possible? ...
Hi. Say i have a webpage with an iframe: an url pointing to a pdf document: http://www.example.com some javascript that will do iframe.src=pdfurl a button that will trigger such javascript if the browser is going to display the pdf inline, the button will say "view pdf" and when clicked will make the iframe visible otherwise it wil...
Hi everyone, I am using Iframes in html. for loading multiple html files into single html file . The problem is when i navigate one page to another i am gettting flickering. how to fix the flickering in iframes. Also i am using Dhtml Filters and transitions in that. Thanks & Regards ravi ...
I'm looking for a JavaScript control that is a Range Slider (dual knob) that: does NOT use an existing JS framework (e.g. dojo, jquery, etc) - unless you can roll/create your own sub framework where I can compile in just the components I need. works in all major browsers An example a Range Slider is below, but of course this uses JQu...
I'm doing an XSS report for my university, and I'm doing some tests with calling external webpages using AJAX. The code I'm using for this example is very simple, and one of my target case-studies is to be able to call an outside web-page via AJAX with cross site disabled. Note: I only plan to use this on FireFox, and I am not concern...
How can I run a batch file on the client side? An exe file? Just to open pre-installed program in client side? [Edit] Regarding ActiveX, I tried var activeXObj = new ActiveXObject("Shell.Application"); activeXObj.ShellExecute("C:\\WINDOWS\\NOTEPAD.EXE", "", "", "open", "1"); but this doesn't work. Any suggestions? ...
Hi, Using javascript I open the pop window and parent window is inactive at this time , i wanted to active parentwindow through popwindow.(this is a web project on java) Please help me, thanks ...
I am busy writing a simple Adobe Air app using HTML, jQuery and some jQuery plugin to load RSS feeds. The problem I am having is that I am generating a section of HTML components (buttons) so that I can execute specific code on button click. But when the page is displayed the button never executes; I have tried using the built-in log fu...
I remember reading quite a while ago that with() has some serious performance impacts in JavaScript due to its possibly non-deterministic change to the scope stack. I am having difficulty finding any recent discussion of this. Is this still true? ...
I have a desktop product which uses an embedded webserver which will use self-signed certs. Is there something that I can put in a web page that would detect that they haven't added the root CA to their trusted list, and display a link or DIV or something directing them how to do it? I'm thinking maybe a DIV that has instructions on ...
In IE7, this code isn't working properly: myJqObj.css("height", DEFAULT_HEIGHT); When it runs, it seems to set the height of myJqObj to 0; However, if I query the height immediately after setting it, everything works fine: myJqObj.css("height", DEFAULT_HEIGHT); myJqObj.height(); This also works: myJqObj.css("height", DEFA...
I'm trying to find all occurrences of items in HTML page that are in between <nobr> and </nobr> tags. EDIT:(nobr is an example. I need to find content between random strings, not always tags) I tried this var match = /<nobr>(.*?)<\/nobr>/img.exec(document.documentElement.innerHTML); alert (match); But it gives only one occurrence. +...
I am looking into a solution where when you type text into the TextArea it should notify the user how many characters are left to enter. Like you can only enter 200 or something. This is easy to make but I want that the counter will be displayed in the background of the TextArea instead of a separate place. I know I can change the back...