Editor for JavaScript
Which is the best editor for JavaScript programming (Servlet programming)? ...
Which is the best editor for JavaScript programming (Servlet programming)? ...
Can someone please help me understand the scoop of JavaScript variables, and how to reach them? Imagine the following... // Namespace declaration var p = {}; p.result = { searchForm: $('#search-form'), searchAction: this.searchForm.attr('action'), anotherSection: { hello: 'Hello ', world: this.hello + 'wo...
scroller1 scroller2 ----------- ----------- |this is o| |this is a| |ne elemen| |nother el| |t, four l| |3 lines | |ines | | | ----------- ----------- That is a simple example set up. I have set up a system which will scroll to the nth element in each scroller, but also using fractions so that if scroller1 is at element...
How to select and apply style on a specific line of text? Like the CSS pseudo-element :first-line, but I want to select any line, not limited to the first. It seems that it can't be done by using only CSS... Anyway I don't mind a JS solution. Update: Well, actually it's only for interest. I'm trying to achieve something like highli...
Hi everybody, I'm trying to encapsulate a javascript that I built using jQuery, jQuery UI, jQuery Form and xmlDom. I want to be able to send to my client just one javascript that references the other ones, including just a small piece of js for options settings. Find below an example: <script language="javascript"> var myOptions = { ...
I would like to alert each individual letter of a string, but I am unsure how to do this. So, if I have: var str = 'This is my string'; I would like to be able to separately alert T, h, i, s, etc. This is just the beginning of an idea that I am working on, but I need to know hot to process each letter separately. I am wanting to us...
I am usuing CKEditor (version 3.0.2) in a site that I built. I have used it before in other sites and never had any issues. In the current site any of the buttons that would have opened a JavaScript Popup will not work. Thinks like Bold, Source, Save all work fine. But thinks like Add Image, Link, Anchor, Table, Smiley, Special Character...
OK I am just starting out with jQuery. I have a page with a table of date-values. Each is wrapped in a tag which I can find with $('mytag'). <mytag>2009-10-31</mytag> How, using Jquery, would I take each of the source values and pass it to a Javascript function then replace that source value within the table with the result of t...
I'm looping through 3 arrays, finding 'actionTimings' in each array and adding up the actionTimings values (values are all numbers). How would I assign the 3 values I obtain to a new array? Here's what I have so far... $.each(dinnerComponents, function(intIndex, component) { totalCookTime = 0; for ( var i = 0; i < component.actionTimi...
I'm trying to figure out how much javascript is being loaded on my website. I'm using Reducisaurus to shrink my js files. The problem is, this is causing both YSlow and the Web Developer extension report the size of my files as ~.04K, which I know can't be right (one of the .js files is jquery, which is 50kb). Is there any way to accurat...
Hi I have hacked the following tab system together http://techavid.com/tabs . I need to reduce the spacing(padding) between each tab. When viewed in firebug, you can see the javascript function is adding various left pixels between each, but instead of random padding-left pixels I need padding-left: 100px between each tab. Any ide...
I have a function called f0 having some parameters. When i call it, it calls some other functions with some parameters(for example the same parameters). The problem is, can i add somehow these functions dynamically? A simple solution would be something like this: var callf1=true; var callf2=true; var callf3=true; function f1(params){ ...
Hai, I need a simple grid view with horizontal and vertical scroll bar using Jquery or simple javascript or in php, can anyone suggest me a simple grid view plugin? ...
I need a prototype done in this way: Array.prototype.getname=function(){ [...]return arrayname; } So I can: z=new Array; alert(z.name); and I should have "z" in the alert. I'm working on Chrome and caller/callee seem to return empty. ...
Hello guys, We have just started our new assignment - web-based project. Before I get directly on to the question it would be necessary to explain about the project. We are actually moving a product from desktop to web. This is it. All backend services are web services. Our choice of server technology will be .NET. As we are good with ...
Hi Everyone: I am wondering if there is some way to apply a gaussian blur onto a div using jQuery (or CSS that jQuery can modify). I have looked into blur(), but at least with Safari, it doesn't seem that it accomplishes what I'm looking for. If possible, I want to use fadeIn on the effect, so it blurs gradually. Thanks for any help!...
In my application.xml I can set the position of the initial window. However this is set in pixels from the top left corner of the screen. So how would I centre it? ...
Hi I have this as my date: 1212009 so this should be like 12/1/2009 but I am stuck this as an id field and id fields cannot have dashes in there names. Now can java-script take this number and re add the slashed in for me or how would I go about doing this? Thanks ...
There is js file with a lot of code in unreadable format (all code in one line): JS file Is there a tool to format to a "normal" view? ...
Hi I have this var date = $('#Date').val(); this get the value in the textbox what would look like this 12/31/2009 Now I do this on it var id = 'c_' + date.replace("/", ''); and the result is c_1231/2009 It misses the last '/' I don't understand why though. ...