First  |  Prev |  Next  |  Last
Pages: 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
Empty <span> + onlick
Take this small HTML fragment: span.theClass{float:left;width:100px;cursor:pointer;cursor:hand;} ------------------------ <div> <span id="1" class="theClass">&nbsp;<span> <span id="2" class="theClass">Stuff in span<span> <span id="3" class="theClass"><span> </div> ------------------------ In Firefox, spans... 23 Apr 2008 14:07
failing to get reference to form object in Firefox
Hi, I must be losing my mind -- I've forgotten how to get a reference to a form! If you look at this page ... http://www.dhlovelife.com/v2/knowdummy/magcommunity_post.php I'm trying to submit the form after validating it. But, on PC Firefox, I repeatedly get the error "f.submit is not a function" when I t... 22 Apr 2008 18:01
If value is in a list
I have a list of numbers, e.g., (1,3,4,5,8,16,20), and am trying to create a simple IF statement to see if the value is in that list. Is there an easier or more efficient way, than the sample code below, to do it? ===== <script type="text/javascript"> num = 2; list = [1,3,4,5,8,16,20]; if(isInList( num, li... 23 Apr 2008 19:45
New Code to Compute Retail Values
I started working on a script that would take the cost of something and suggest a retail amount. I usually figure Retail on Margins. So Retail equals Cost divided by (Margin-100)% plus Cost. So if Cost is $50 and Margin is 40% 50/(40-100)%+50=80 or (50/60%)+50=80 But now I have to go to work... </FOR... 23 Apr 2008 09:19
Scriptaculous Draggable Fires Off OnClick Event
Hello, I hope this is a right place to ask about Scriptaculous library. I started using draggable and droppables effects for the first time and my draggable is simply initialized as new Draggable(imageObject,{revert:true}); However, my imageObject also has an onClick event which is fired in Firefox every time... 23 Apr 2008 16:32
Need of a code snipet which converts mm/dd/yy to dd/mm/yy
Hi , I am stuck with a requirement from my client to change the date format from mm/dd/yy to dd/mm/yy .If any body can help me out with this regard as its very much urgent. Regards, Santanu ... 24 Apr 2008 14:15
Active content in popup window
Hi all, I have web pages with "active content" running locally on my PC in Internet Explorer. These pages open other windows by "window.open()" and these windows have, in their turn, active content. As IE does not let any active content run in web pages that run locally, I have to "Allow Blocked Content" both f... 22 Apr 2008 19:36
paste as plain text from word
Hello, i'm trying to paste copied text from word into an input box. This text is saved into a oracle db and then used as text in another javascript. The problem is that using the saved text (encoded and decoded in the db to avoid sql injection) have some special char that block the javascript execution (i think is... 22 Apr 2008 16:25
Safari 3 and refresh
I'm building a app in which opens in a new window without a menu bar or tool bar. I need to warn users (who press the F5 key or Ctrl+R) that refreshing may result in loss of data and to give them the option of cancelling the refresh. The code is relatively straightforward and works for IE, FF and Opera but t... 22 Apr 2008 16:25
comp.lang.javascript charter
type="text/css" media="screen" /> <script src="http://www.votenader.org/ui/js/jquery.cycle.all.pack.js" type="text/javascript"></script> <!-- /code_block.mc end --> <meta name="title" content="Ralph Nader for President 2008" /> <meta name="author" content="The Nader Team" /> <meta name="description" c... 22 Apr 2008 00:36
First  |  Prev |  Next  |  Last
Pages: 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52