Full story:
I am working on a project for my company that requires users at each of our locations to upload reports generated by a third party software. All reports generated by this software are always placed in the same directory.
Some of our less computer-literate associates, judging by past(and ongoing) experience with a similarly di...
I've a asp.net page which uses multi select checkboxlist(say having 10 checkboxes)....for example
I've enabled AutoPostBack for any change in checkboxlist.
Initially,out of 10, 3 are selected.
On top of this, if user checks another checkbox, how do I know which particular checkbox has been checked by the user and retrieve its value?
...
I have a bookmarklet I use to check daily log files. However the bookmarklet I use only delivers the month and day in single digits, however the log files use double digits.
For example my bookmarklet delivers:
http://url/log/2009-5-4_localcontrol-story.log,
while the log file actually lives at:
http://url/log/2009-05-04_localcontrol-st...
I have the following page using Dojo 1.3.1 javascript toolkit
Content Pane
HTML table two columns, N rows
Column 1 (left): text
Column 2 (right) Dojo widget (can be any, but mostly Grids, pullodwn, etc)
Problem:
When page loads, it renders Ok (the type of widget and the number per page are determined at runtime, so I ca...
I've been desperately searching for a Javascript MVC framework to create rich client side applications with a Rails backend and I come across junction framework. It highly appeals to me due to its similarity with rails and offline capabilities. but unfortunately it has not been actively maintained for a long time.
I just wanted to know ...
How to get the directory of a file?
For example, I pass in a string
C:\Program Files\nant\bin\nant.exe
I want a function that returns me
C:\Program Files\nant\bin
I would prefer a built in function that does the job, instead of having manually split the string and exclude the last one.
Edit: I am running on Windows
...
Not really looking for code examples here, just concepts.
I have three sections on a page now that are being updated via three separate AJAX calls to PHP scripts, which return JSON. What would be the easiest way to condense these three calls into one larger call and receive the responses back on the client in JSON? How would I separate...
I have multiple locations (20+ per page) that need to be mapped on a single map. I would like to click on a link for the location that is not dynamically generated (for SEO purposes) that would open the info window for the respective marker on the map.
Behavior should mimic http://maptheburg.com/ - but this map has the sidebar links dy...
I basically want to produce the following:
from int 67 to 1 minute 7 seconds
from int 953 to 15 minutes 53 seconds
from int 3869 to 1 hour 4 minutes 29 seconds
pseudo code:
// original
<span class="time">67</span>
//output
<span class="time">1 minute 7 seconds</span>
// js
$('.time').format_duration();
...
i have to fill a select ooption list dynamically with the selection of diffent-2 radiobuttons using java script.. right now i am applyiing it but it is not working properly
{
var i;
var x1;
var x3;
var x=document.getElementById("ddbudget_min");//option list1
var x2=document.getElementById("ddbudget_max");//optionlist2
x1=x.length;...
Does anyone know a good free obfuscater for javascript?
...
I am currently working on a web app that will replace old systems in some office. (very old as in they are in FoxPro)
My current task is to develop a very desktop-like fast UI, meaning like, trying not to use the mouse at all, so they can capture data fairly quickly and they do it almost without even looking.
They expect things like:
...
Hi,
I have a custom control with a bunch of buttons and inputs. I also have a JS file where all my code goes for easy debugging.
How can I get the ClientIDs of the controls in the JS file?
My workaround at the moment is to have a script block at the top of the control and to put all the JS in there. I'd like some separation though.
M...
I use Javascript on frontend, C# as middle layer and Oracle 9i as DB.
What is the best practice when formatting numbers with 2 decimal precision into a currency? And what layers should be preferred amongst any of these three layers?
Keeping in mind that the User will be able to edit these amounts on a few of my screens on the applicati...
How to Debug java Script Error Using Firebug?
Duplicate
How can I set breakpoints in an external JS script in Firebug
...
In one of My Layout there are some large images (come from XML) which shown when I mouse hover on some some of the link, but when the Page loads and when i rollover It takes time to Load that Image.
Note: there are fix 5 images (not dynamic)
I dont want to use JavaScript to Preload Images any Solutions?
I am Not Using Hover menu or so...
Is it possible to host a static html website on AppEngine? And how to make my domain name work with it?
...
I need solution for auto adjust width height of iframe to fit with content in it, and the point is the content size (width, height) could be change after iframe loaded. I guess i need a event action when body size changed.
...
I have an .html file (X) that depending on some value should immediately open another .html file (Y) when opening the .html file (X). What's the best way to implement this within javascript?
Also I want that when the user presses 'Refresh (F5)' on Y .html the page that should be loaded again to be the one that started the current one (X...
In IE exists .setCapture(); .releaseCapture() functions.
What's the equivalent of these functions in Firefox without using jQuery? (my client does not want to use it)
...