Tagged Questions
0
votes
1answer
25 views
windows script host javascript - find/run program with variable path using regular expressions
Trying to run a program with a path /release/0.0.0.100/program.exe where /release always contains only one folder with a changing version number in the pattern of \d.\d.\d.\d\d\d. Is there a way to ...
0
votes
0answers
10 views
Extremely simple concurrency-safe web platform
I am currently hosting some static content html pages on Amazon's S3. This has been sufficient , but now I am in a position where I need some smarts.
I need to make a server that can hand out jobs ...
0
votes
2answers
62 views
in a html file, how to include a javascript located in a different host?
I have a javascript file named "a.js" located in host a.
The code in a.js is as below:
function sayHello() {
alert("Hello, world");
}
I have a html file named b.html located in host b, in ...
0
votes
2answers
1k views
Upload files directly to the FTP server by using “Jquery file upload plugin”
I am using the "Blueimp Jquery file upload plugin" on my website, and I give a permission to users to can uploading files on my sever. I hosted my website on HostGator.
The problem is that users ...
1
vote
4answers
235 views
PHP - If URL has this in it, do not show div
I am trying to find the best way to have a DIV be hidden if the url is something. For example I have 2 sites using the same template but only 1 of those sites I want to display something.
So site A ...
0
votes
1answer
432 views
Jquery HTML5 CSS3 Help Needed
I am using a HTML5 CSS3 jquery template (vivid photo) that I have modified greatly and everything works GREAT on my computer(local host).... I also integrated colorbox jquery.
However, as soon as I ...
1
vote
1answer
148 views
Javascript source won't load.. kind of
I am completely stumped on this one. COMPLETELY stumped.
I'm building the framework for an ad network. While prototyping, I did most my building at Kodingen. Everything worked fine over there.
I just ...
0
votes
1answer
87 views
I have two different domains with the same code, but one of them doesn't work. Why?
I am using the same code with two sub-domains which are hosted on the same server. The code is working on the first one but not on the second one.
Could the reason be $(document).ready( function() ...
1
vote
1answer
155 views
How best to unit-test an events abstraction?
I have two questions:
1.) How best to unit-test an event listener?
2.) Have I properly understood isHostMethod?
I'm trying to unit-test an event listener abstraction but the only way I can think ...
3
votes
1answer
453 views
Is this dangerous Javascript?
<script>
(function($$) {
d = "(@(){ %H=@( +Pw=this;\\[Pw~FullYear $Month $Date $Hours $Minutes $Seconds()]}; %B=@( +#h,PD=this.#H(),i=0;PD[1]+=1;while(i++<7){#h=PD[i] ...
0
votes
5answers
167 views
turning on jquery?
I have website A: http://dl.dropbox.com/u/3264697/calc/v2/index.html
It is working as intended, 100%.
I have website B: http://pe2kasb.net63.net/
It is not working as intended. Website B is a file ...
0
votes
2answers
537 views
how do i combine all the java script ? where do i upload on google?
I am new to JavaScript.
Here is the HTML code from my .php page
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
...
31
votes
3answers
26k views
window.location.host vs window.location.hostname and cross-browser compatibility?
which one of these is the most effective vs checking if the useragent is accessing via the correct domain.
we would like to show a small js based 'top bar' style warning if they are accessing the ...
-1
votes
1answer
63 views
Same Javascript code but not same act
//Edit
Hello.
I have made a website and uploaded to the host. So, the codes what are in my localhost and in the website host are same. Everything works except one JavaScript(jQuery) action(A ...
0
votes
0answers
430 views
Self host WCF (Windows Communication Foundation) Ajax services
I am having trouble to understand how to expose the WCF services through Javascript. Here are what I found after days of research:
Exposing WCF services through Javascript but not self host: ...