| |
thread by: Haitashi |
last post Apr 2 '08 by: gits
Hi:
My task is very simple. I want to make sure that files that people are uploading have file extensions. File types don't matter, just that they have one. How would I write an expression for that?
|
thread by: Arodicus |
last post Apr 2 '08 by: Arodicus
Given something like this:
var foo = new Something()
is there any way for the Something class to know it's being put into "foo" (as a String)?
The only thing I can come up with so far is blatantly feeding it:
var foo = new Something("foo")
|
thread by: tuka |
last post Apr 2 '08 by: RobG
Hi,
I have 2 methods defined within a javascript objects
that I would like to call in a third function within the same object.
In the example below, func3 works well in FF but in IE7 it breaks.
Any suggestions about how this may work ? I am sure this has to do
with notation.
I am calling the methods statically - so not instantiating a...
|
thread by: gsherp |
last post Apr 1 '08 by: gsherp
How does one execute code when the user closes the browers window by clicking on the top right corner . I need to log out user and do a database write when the user closes the brower. I do these to clean up the database when the user exits before actually logging out.
I was told to user pageX, but does not seem to work either. Again, I am...
|
thread by: eacollie |
last post Apr 1 '08 by: pronerd
Thanks for any help you can give me!
I'm trying to set up a banner ad on a webpage that will rotate randomly through a series of about 22 ads. I found code that works for IE but I'm having problems with Firefox (it doesn't refresh unless you manually refresh the page).
The image link for the banner that is created (by the function getCode)...
|
thread by: useenu |
last post Apr 1 '08 by: pronerd
Hi all,
I am new to this forum and javascript. I am developing a progress bar in javascript. For that I planned to have series of small DIVs in a big DIV. I have written a below function.It is working in IE, but not in Firefox.
function createDiv(leftPx, topPx, widthPx, heightPx, divColor)
{
dv = document.createElement('div');...
|
thread by: Helmut Giese |
last post Apr 1 '08 by: Helmut Giese
Hello out there,
Joost's answer to my original post showed me that I omitted a central
point: My requirements are completely functional, there is no browser
in sight and no visual output whatsoever.
Ok, before you think I am nuts, here is the background: We have a
fairly big application for the PC desktop and the idea came up to port
it to...
|
| |
thread by: deararuns |
last post Apr 1 '08 by: pronerd
i hav a window wit a button and text box..
Then am opening a new window...
suppose if i type somethin in a first window's text box.. and click the button..
the value typed in the text box shoult appear in the opening window...
Is it possible
<html>
<body>
<script type = "text/javascript">
function fun1 ( )
|
thread by: luke14free |
last post Apr 1 '08 by: luke14free
Hello,
I'm writing a live chat in php and ajax (prototype.js). My problem is that, when the periodical updater gets chat text from an external php page, under IE \n\r are not recognized
http://www.wetv.it/blog2.php
The chat is very simple; here is my js code:
function ste (element) { // scroll to end the chat
if (typeof...
|
thread by: Shisou |
last post Apr 1 '08 by: Shisou
I'm trying to program a repetitive character validation for a form on my site. I was wondering if it was possible for js to get the characters in a input.value individually... i was thinking something like
input.value.index(i)
but that doesn't seem to be working... any suggestions?
|
thread by: Frinavale |
last post Apr 1 '08 by: Frinavale
Hi!
I am dynamically generating external .js JavaScript resources to be used with a Tab control I created (using VB.NET).
Originally, the JavaScript was written directly into the <head> of the pages that used Tab controls. Because it was generated in this way I was able to specify which tab was to be displayed as the "current" tab upon...
|
thread by: dineshkumarsr |
last post Apr 1 '08 by: pronerd
Hi Folks,
I have a issue trying to change the cursor of area image map in run time, no static code, no id and no name.
the possibilities i have tried is
document.getElementsByTagName("area").style.cursor=hand;
var cur=document.getElementsByTagName("area");
cur..style.cursor=hand;
not working
|
thread by: manishamca |
last post Apr 1 '08 by: acoder
can anyone say me how to find the difference of values present in two textbox and display the result in the third textbox.
for eg:
<input type=text name=t1 value=123>
<input type=text name=t2 value=20>
<input type=text name=t3 value=103>
in the t3 textbox the difference of tw otextbox shuld be displayed as soon as...
|
thread by: purushothamk |
last post Apr 1 '08 by: acoder
Hi,
can some one please let know how to write the java script to open a new window when we click on Button.
Regards
Purushotham
|
thread by: connectwithme |
last post Apr 1 '08 by: pronerd
I am trying to attach a "onblur" event on the body element. IE does'nt throw any errors but the event is not captured by the browser when the onblur occurs on the elements withing the body.
But if I attach a "onclick" event. That is captured by the browser.
Any idea ?
|
| |
thread by: ajs05 |
last post Apr 1 '08 by: pronerd
Hey guys I was wondering if anyone knew how to create a currency converter using html programming, here are the guidelines I am looking for :
Develop an HTML/JavaScript program that creates a web page that can be used as a GUI to convert U.S. currency to Canadian dollars, British Pound, or Euro. The conversion formulas are:
1 US $ = 0.974...
|
thread by: pratimapaudel |
last post Apr 1 '08 by: pronerd
Is there any way to change the text in Ok and Cancel in Javascript confirm box?
Instead of OK and Cancel i want checkout and continue shopping.
I have my js code like this
function CheckWt()
{
var backorder = 'False'
if (backorder == 'False')
{
|
thread by: hash4sp |
last post Apr 1 '08 by: pronerd
Hello !
I need to add image icons to SELECT option.
I have gone through and tried few things by
googling but it doesnt seem to work.
example link
Any suggestions regarding please...
|
thread by: sasimca007 |
last post Apr 1 '08 by: pronerd
Hello friends,
I am using dojo datetextbox in my project. I have a problem that, how to use events for that? I have coding like this
<p id="backgroundArea" dojoType="dijit.form.InlineEditBox">
<input name="from" dojoType="dijit.form.DateTextBox"
constraints={datePattern:'dd/MM/yyyy'}
lang="en-us"
required="true"...
|
thread by: newatcoding |
last post Apr 1 '08 by: pronerd
Dear friends,
I have a page with a frame.
In the page if we click any of the buttons,a javascript error saying 'Permission Denied' will be hown.
I couldnt find any solution.
I could find the details that this problem is commoly faced and no solution could be found.
Please help me...
|
thread by: a1lostnomad |
last post Apr 1 '08 by: acoder
Hi, I'm JavaScript challenged so I'm going to need some help on this one.... I'm trying to get this accordion (based on prototype/scriptaculous) to open up a panel later in the page.
In the head <script> tag:
<script type="text/javascript">
Event.observe(window, 'load', loadMenu, false);
function loadMenu(){
sidebarMenu = new...
|
thread by: raghulvarma |
last post Apr 1 '08 by: pshm
In <asp:textbox> we do not have the method such as onmouseover as we have it in input type = "text" instead of onmouseover which method would be a perfect match for it? My situation is for a calender plz help me out...
|
thread by: ccountey |
last post Apr 1 '08 by: acoder
Hello,
The objective of this script is to show visitors who found my site by clicking on one of our Google Adwords a specific telephone number (in graphic form) for the sake of tracking.
Here is the code I have been working on. My issue lies within the document.URL area of the script. I tried this code without declaring the source...
|
| |
thread by: Bjorndal |
last post Apr 1 '08 by: acoder
Hey guys!
I'm currently working on project, in which I need to animate a menu. It seems to work all right in Safari and Firefox, but Internet Explorer 7.0 makes the animation run slower, and I can't figure out why!?
So far I have only tested it in version 7.0 of Internet Explorer.
First of all I'll show you the Javascript code, which runs...
|
thread by: mjoshi |
last post Apr 1 '08 by: acoder
Hi
I want to pass the name of the button to the javascript on its on click
i have used this.name but its giving object required error
plz help
|