firefox extension that adds a script to a html page
Hi, I am asking about using javascript to add a script to a html tab in firefox. I'd like to avoid using greasemonkey. Is there a way to do this? Thank you ...
Hi, I am asking about using javascript to add a script to a html tab in firefox. I'd like to avoid using greasemonkey. Is there a way to do this? Thank you ...
I would like to load/refresh a particular page for every 10 secs to view updated data's fetched from Database. I used META for doing it <META HTTP-EQUIV=Refresh CONTENT='10; URL=livedata.php'> But still i agree we also do this by using : Javascript to load a div by settimeout Ajax dynamic refresh Would be great ...
Hi, I trid to use an upload plugin for jQuery. http://valums.com/ajax-upload/ When I set the returning respond type to json, firefox will popup a dialog asking how I like to handle the returning json object. People have asked the same question at the upload script's author's page but no answer so far. Hopefully javascript guys here can...
Does the IFRAME's onload event fire when the HTML has fully downloaded, or only when all dependent elements load as well? (css/js/img) ...
I have an idea for a few web apps to write to help me, and maybe others, learn Japanese better since I am studying the language. My problem is the site will be in mostly english, so it needs to mix fluently Japanese Characters, usually hirigana and katakana, but later kanji. I am getting closer to accomplishing this; I have figured out ...
In my mind, both modal dialogs and lightboxes serve the same purpose. It seems that there is a scale of sexy (but javascript-heavy) on one end, and economical (but boring) on the other. What drives your decisions to use one over the other? Or, is there a better way to ask the user for complex data without navigating to another page? ...
Sorry if this is a dup; I haven't found any questions that pose quite this same problem. The issue is illustrated by this screenshot, ironically taken from a CSS blog site (it's immediately below the text "In order to set a positioning context".) I've been hitting the same issue in my own code. About halfway down this image, there's a...
I am working on a greasemonkey script for gmail where i need to make a copy of the "Inbox" link. Using cloneNode works ok, but i think there's an onclick event that gets attached to it at runtime. So, this is a two part question: 1. Is there a way to see what events are attached to a node? 2. Is there a way to copy those events as well?...
in Ajax based web apps , Is it mandatory to provide an alternative "html" interface for those who don't have javascript enabled & slow connections? for example Google Mail provides both Ajax & plain HTML Application but Microsoft SharePoint doesn't . do we have to care about them (disabled javascript/slow connections) or not? ...
jsRepeater (a template engine for jquery) has output formatting that let's you pass the template engine a function that will execute before the engine renders the final value. when I'm looping through an array of values I'd like the formatting function to receive the whole array in addition to just the one value. how can I modify the ...
New to javascript, but I'm sure this is easy. Unfortunately, most of the google results haven't been helpful. Anyway, I want to set the value of a hidden form element through javascript when a drop down selection changes. I can use jQuery, if it makes it simpler to get or set the values. ...
Trying to use an onmouseover event echo $html->link("Dashboard", "/dashboard/index", array("onmouseover" => "Tip('Test');") ); becomes <a href="/dashboard/index" onmouseover="Tip('Test');">Dashboard</a> How do I prevent the link function from removing the single quotes? ...
Hi, I am trying to create text in html, that once clicked, the the value of a textbox residing near it, changes its value to be equal to that of the text clicked. Is there anyway I can do that? In other words I want the functionality of a button (the onClick event) for a link/text. Thank you For example: What's wrong with this? <td...
In my javascript function I am trying to call my global variable that is currently defined in the webconfig file of my Asp.net project. What is the syntax for this? I've looked around and nothing seems to work so far. I've tried the following but I am not getting anything from it: web.config: <appSettings> <add key="var1" value="1...
jQuery has a really handy event binder called live() which will add events to DOM elements on the fly (even for the elements that will be added later to the DOM). The problem is that it's only working on specific events (listed here in documentation). I really want to have live events for focus,blur and change which is not supported by...
Hello, I have a reqiurement, I need to play multiple audio songson ASP.Net page.Can anyone suggest the best way to implement this. I have page. There I will display the list of the songs in grid view. The gridview contains checkboxes and songs name. User should able to select the multiple check boxes and click play. When ever user cl...
In javascript, every object is at the same time instance and class. To do inheritance, you can use any object instance as a prototype. In python, C++, etc.. there are classes, and instances, as separate concepts. In order to do inheritance, you have to use the base class to create a new class, which can then be used to produce derived i...
I'm wondering how I get a smooth zoom in animation with the Google Maps API. I have 2 points, one in, let say China, and one in France. When I'm zoomed in on China, and click the button France. I want it to gradually zoom out smooth, one zoom level at the time. When it's zoomed out it should pan to the new location, and then zoom in on ...
I am using the following code to add columns dynamically to a html table: var tblHeadObj = window.opener.document.getElementById("maintable").tHead; var j=0; while(j < fname.length) { if(tblHeadObj != null) { for(var h = 0; h < tblHeadObj.rows.length; h++) { var newTH = window.opener.document.createElement('th'); ...
I want to access the original event object but the object returns undefined.. $(window).scroll(function(event) { alert(event.pageX); }); I'm just trying this out if it will work. The example is as basic as possible so I can work out other events too. ...