Eclipse plugin Javascript editor
I want to add hover text in eclipse java script editor. Can anybody give any pointers to some resources? Thanks in advance ...
I want to add hover text in eclipse java script editor. Can anybody give any pointers to some resources? Thanks in advance ...
I'm building an application where I end up with a fairly long list of repeated elements that need to be configured based on some objects I'm getting via AJAX. I'm thinking about creating one of these elements in html and leaving it hidden on the page and then cloning this element and using jQuery to modify it based on the object I'm gett...
Using ExtJS 2.2.1, I've got a container element which is supposed to load a piece of HTML from the server using: autoLoad: { url: 'someurl' } This works fine in Firefox, but for IE7 this results in a syntax error in ext-all-debug.js at line 7170: this.decode = function(json){ return eval("(" + json + ')'); }; I fixed this b...
I have a form loading inside my page and there is a button out side this form its function is to submit this form. $('#MyForm').submit(); I want a way to write a submit complete function, means to know that the form successfully/completely submitted. I tried the jquery form plugin, but didn't work, i think because the submit come fro...
Hi, is it possible to generate/send video/audio using javascript ?? for example, see jspdf - http://jspdf.googlecode.com/svn/trunk/examples/basic.htm generate client side generated pdf file using base64 encoded datauri and embed the datauri ! Can similar approach be applied for generation of Ogg files ? This can be useful for text to ...
I downloaded the code from json.org to serialize/deserialize javascript objects to/from json and it worked just fine. However, in production, it conflicts with my other javascript code apparently because it uses for in loops. Is there another library that does this? Thanks! ...
Hi, I'm using jQuery and the minlength method for the validation plugin rules: { checkboxes: { required:true, minlength: 3 } } This works how i want it to, BUT the error message I'm getting is "Please enter at least 3 characters." How do I instead say, "Please check at least 3 box...
Hi, Is there a way to obtain domain name of a windows machine by using javascript in a browser (IE, FireFox, etc) ? ...
I want to add an additional roadblock in my application to prevent automating it via javascript, specifically when the automated requests are being done via XMLHttpRequest from any of the popular browsers. Is there a reliable tell-tale sign of a XMLHttpRequest that I can use in ASP.NET? And I guess the other related question is, is it ...
Hi all, I used to use a guitar tab site and it had a feature where you'd be able to auto-scroll the page you were on. There was a control panel that was fixed regardless of where on the page the screen was scrolled to which you could use to set the scroll speed and turn it off. Now, I can't remember which site it was, nor can I find...
I'm working on an app that will be using https, but we wanted to be able to use the google search api. They do not have an https version available, so it causes the browser to display an insecure warning dialog. It was suggested that we could dynamically load the script after initial load to avoid the warning. I didn't think that would w...
Hey All, I currently use Google's API to include jQuery into my sites like this: <script src="http://www.google.com/jsapi"></script> <script>google.load("jquery", "1.3.2");</script> How would I accomplish the same for the jQuery UI javascript and css files? ...
i am at the finish of my very first javascript and have been able to get everything working except one last bug. i have this script that calls for an overlay to display full preview of images, and a button to zoom-in/out and a button to go back. the trouble is when i first view the full image, the zoom in/out toggle works fine. but when ...
Trying to figure this out... I'm trying to accessthe top level of the dom from inside an iframe. How possible is this? ...
I have a page that does ASP.NET ajax postbacks using UpdatePanels. In some javascript, I set up some objects in the window.onload event, which works great. When I do a postback though, it seems like my objects are messed up. One object which was receiving events from a table, is no longer receiving the events. I also had a case where...
I'm writing standards compliant XHTML Strict 1.0, so including the HTML "target" attribute on anchor elements will not do. I've read 2 fundamentally different ways using Javascript: Upon document load, find all links with rel='external' and append the target='_blank' attribute. Use the HTML onClick attribute that fires a Javascript po...
I'm trying to POST a http request using ajax, but getting a response from the apache server using modsec_audit that: "POST request must have a Content-Length header." I do not want to disable this in modsec_audit. This occurs only in firefox, and not IE. Further, I switched to using a POST rather than a GET to keep IE from caching my re...
I've built a ascx control and I would like to be able to keep adding new instances of it using JavaScript instead of having to do a AJAX callback. Is this possible? I am basically building a web form for a query control and should clause X be filled in, I want to generate a control for the next clause below. I would like to learn how to ...
I'm trying to append an ActiveX control dynamically to a page using jQuery. The append is successful; however, the control doesn't initialize when it is done this way. I believe IE calls the OnCreate method of an ActiveX control when a page that contains a control has finished rendering. The problem is that the tag is not present on the...
How can I check to see if a file is already open by another user in javascript? As it is right now, the program I'm trying to fix will open/edit a file then fail on trying to save if the file is already in use. Also, is there an easy way to add a lock on the file so another process knows it's in use? Edit: the program is a .hta using ...