Is it possible to compile a JS app + the NodeJS interpreter into a single executable?
Is it possible to compile a JS application and the NodeJS interpreter into a single executable for distribution? ...
Is it possible to compile a JS application and the NodeJS interpreter into a single executable for distribution? ...
First I realize ID's should be unique. But right now I can't do much about that. I have a javascript plug-in that is generating ID names and for one page it works great. The issue is in creating another page, it will start over using the same naming convention. For example: Page 1 <ul id="1"> Page 2 <ul id="1"> So if I am tryi...
I have a page that when loaded I would like it to run a perl script. Is this possible to do with javascript? I have never ran a perl script on the web before and the only way I have seen to do it is link to it. ...
For hi5 there is a way to validate email addresses by importing your contacts from a hotmail account. I want to try and automate this task but am running into trouble. Steps to get to form page. Create hotmail email account. Using hotmail email, make a new hi5 account. After creating an account do not add photo, but navigate to home ...
Hello everybody! Once again I need some help. I'm working with a table that contains 3 different types of data (time, alpha and numbers), and it is required that the columns can be sorted (ascending or descending) based on the type of data that each column holds. So far, the JavaScript that I'm using works well as it was written origina...
I need to replace a slash with a hash in a URL. Everything else stays the same. e.g.: this: www.example.com/main/events/event-1 needs to be changed to this: www.example.com/main/events#event-1 (jQuery solution is optimal, plugins OK) Update based on OP's comment: Using this code: function outputStatus(e) { if (e.succ...
What is general principals to operate with large integers in javascript? Like in libraries for bigint? How i do it by myself? ...
I'm using carabiner for CodeIgniter which can minify all the javascript files it loads. Well, I have about 10 files that work fine, then when minified, they don't... I'm not sure exactly what doesn't work, there are no errors, just certain features that don't work. Is there any particular reason why minifying JavaScript would cause it t...
I'm working on a javascript keyboard that seeks to enable users to type in various African languages.Currently, this works fine in IE8 and firefox but not google chrome, and I'm actually stuck on this one.What I want to accomplish is for example, to type(on my physical keyboard) 'q'(keyCode=113) and get 'ɛ'(keyCode=603) as the output but...
Right now I have a loop that is going up by one until it hits its page limit. (this is a mini book/magazine) I have them inserted into a drop down so a user could select the number they want and it will jump to that page. Is there any way to instead of use numbers, somehow get titles into it instead? Like Front cover, table of contents...
I have the following RegEx to replace the entire querystring for a string with a new one: "http://www.google.com?bar=1".replace(/\?.*/, "?foo=2") This works only if there is a querystring. The following will not work: "http://www.google.com".replace(/\?.*/, "?foo=2") How do I make the RegEx match both situations? ...
I'm working on making a contentEditable jQuery plugin. I've created a 'tools' bar to perform actions to the text such as making it bold, italics etc using execCommand. The problem is that when you select text and click one of the buttons (divs with onclick events) it deselects the text you had selected (all browsers). To fix this I ha...
I am using JQuery to do an ajax calls to fetch data. I am doing several calls to fetch peices of this data incrementally. So I have something like: for(i=0;i<numOfDataObjects;i++) { $.ajax({ //get the data and do something with it in the success callback }); } I have some code after this loop that I want executed only after...
I've got a Jquery function that I wrote which blacks out the screen after a certain amount of inactivity, creates a pop-up that allows the user to click a button to stay logged in, and logs them out (closing the application window) if they do not respond in time. We don't technically use master pages, but we do have a parent page in whi...
Is there a way I can format for example: 0000000000 into (000)000-0000? I'm returning a listbox which holds a collection of phone number which arent formated yet. What I would like is format it. This is what I have in the View: <%= Html.ListBox("phoneList")%> and from the controller: ViewData["phoneList"] = new SelectList(phoneList)...
What is an elegant way to take a javascript array, order by the frequency of the values, and then filter for uniques? So, ["apples", "oranges", "oranges", "oranges", "bananas", "bananas", "oranges"] becomes ["oranges, "bananas", "apples"] ...
I have a function from which I would like to return a value as a series of events whenever a button is clicked. However, I can't figure out how to retrieve the value from onreadystatechange. How can I make it so I can return vicArray[vicID]? function selectVictim() { var vicString; var vicArray; var vicID; var params = "url=queenofshee...
Why does this snippet: <script type="text/javascript"> alert("1111"); </script> <script type="text/javascript" src="xxx.js"> </script> result in "1111" being alerted, but this one: <script type="text/javascript" src="xxx.js"> alert("111"); </script> doesn't cause "111" to alert? Is it not possible to put code in the same <scrip...
I have just written a Word Document creation web application using .NET 3.5 which uses XML from a SQL backend and XSL-T stylesheets to transform word xml documents as templates into letters for users to send to clients. Everything is working well and I'm pleased with the result, xslcompiledtransform is super fast even with bloated word ...
I have a RadioButtonList which has AutoPostBack set to True and is being handled server-side: <asp:radiobuttonlist ID="myRBL" OnSelectedIndexChanged="MyRBL_SelectedIndexChanged" RepeatDirection="Horizontal" AutoPostBack="True" runat="server"> <asp:ListItem Selected="True">Choice 1</asp:ListItem> <asp:ListItem>Choice 2</asp:L...