| |
thread by: Rubikzube |
last post Mar 11 '08 by: SAM
I have JavaScript functions on my page that insert and remove DOM
elements, and it's causing the browser to rescroll to the top of the
window. I was wondering what the cause of the behavior is and if
there is a smooth workaround.
The rescroll is happening after the insertion function, and using a
setTimeout is just making the page shake.
|
thread by: sunsom |
last post Mar 11 '08 by: acoder
i want to change the display field to a drop down when a check box is clicked.
|
thread by: ctoz |
last post Mar 11 '08 by: ctoz
Feeling my way here... looked at Ajax for a long time, and actually need a text replacement function to make this page work, without using an iframe or a popup window. I can do simple javascript, haven't got hang of php.
So: I found "simple.js" at http://simplejs.bleebot.com/ and it has the function I need, called "$ajaxreplace()" but I can't...
|
thread by: rspark07 |
last post Mar 11 '08 by: acoder
Hi there. I'm having a problem in which Firefox views the 1st row of a table as rows, but IE is saying there is no rows and the first row is rows.
What is possibly going on here?
Here is the code I use.
document.getElementById('dynTable').rows.cells.firstChild.value;
If I set i = 0, then IE returns me an 'error Object required'. ...
|
thread by: phub11 |
last post Mar 11 '08 by: acoder
Hi,
I have a JS function which includes the following lines:
var table = document.getElementById("table1");
var cells = table.getElementsByTagName("div");
for (i = 0; i < cells.length; i++) {
checkedCels = cells.id;
var checkboxes = cells.getElementsByTagName("input");
|
thread by: timothytoe |
last post Mar 11 '08 by: Fritz Schenk
Is there a way in Firebug to see what code is in a function? All I can
coax out of Firefox is "function()". Same with using Firebug's
console.out.
IE's debugger just tells me it's an Object {...}.
Does anyone know of a way to see the function's code? Getting it into
a string and printing that out would be just dandy.
I'm not looking...
|
thread by: superunknownman |
last post Mar 11 '08 by: mrhoo
I was trying to capture the pathname only when using
var from= window.location.pathname;
and I want to lose the filename. Is there another way for me to get just the path?
|
| |
thread by: sm0a9f4 |
last post Mar 11 '08 by: rnd me
Hi everyone,
I'm a noob with a problem...
In non-IE browsers, I'm trying to load a UCS-2 (UTF-16) encoded file using the following lines:
xmlDoc=document.implementation.createDocument("settings.xml","",null);
xmlDoc.async=false;
xmlDoc.load("");
I get an error on the last line that says "Value Undefined (result expression...
|
thread by: fluff |
last post Mar 11 '08 by: rnd me
Hello,
I have a html page with javascript in it.
How do I disable the minimize (the box with the underscore in it in the corner)?
I know there are already several people who asked the same question and the answers are useful like from this:
http://www.thescripts.com/forum/thread92828.html
but the solutions don't work exactly the way I...
|
thread by: milas57 |
last post Mar 10 '08 by: rnd me
hello everyone
i have a homepage which introduce the company website as shown below im having trouble to find some javascript code when i click on the header link like servives the body content changes dynamically. thank you
-------------------------------------------------------------------
index.php
<div id="header">
<a href="#"...
|
thread by: bluehtrombone |
last post Mar 10 '08 by: rnd me
Hi everybody,
I am trying to extend the JavaScript's native class Element as below. If I then create two or more distinct objects, assigning values to any of them affects all the objets as if they were referencing one and the same object. However, div1 == div2 throws false. Could anybody explain why is that and how to fix this issue?
...
|
thread by: MC |
last post Mar 10 '08 by: MC
Hi,
I am googling for a script and can't seem to find code to do this. I can
probably write code to save but reloading is an issue.
I want to, using ajax, send all form data back to a server and store. A
concise function to cycle through the fields and create a string would be great. I can give the user
the button to call this "Save Form...
|
thread by: El Milahi |
last post Mar 10 '08 by: numberwhun
I'm trying to get the value of an id. This is my code:
<span id="test">this value</span>
<script type="text/javascript">
var myVal = document.getElementById('test').value;
alert(myVal);
</script>
When I run it I get "undefined" in the alert window.
How can I get the value "this value" from the span?
|
thread by: deepakraj |
last post Mar 10 '08 by: rnd me
i want to resize image (in pixels)..how i can do it..
|
thread by: deepakraj |
last post Mar 10 '08 by: rnd me
how to open a document save window to save a file while downloading a file from database....
|
| |
thread by: deepakraj |
last post Mar 10 '08 by: iam_clint
how parameter added with hyperlink and how i can get parameter in other page...
|
thread by: Nickol77 |
last post Mar 10 '08 by: drhowarddrfine
I created a web page in Dreamweaver using their dropdown menu utility, I converted the page to HTML to XHTML. the dropdowns works fine in IE, but not Firefox? Help!
http://www.xalexweb.com/sm/candidate3.html
|
thread by: burtonfigg |
last post Mar 10 '08 by: rnd me
I've read this article:
http://www.oracle.com/technology/pub/articles/oracle_php_cookbook/ullman-ajax.html
And from reading it thought it'd be interesting to try a bit of Ajax on my site.
What I'd really like to do is to set up a little ajax widget on my site, so that if people want to view more of the ecard thumbnails, they can click...
|
thread by: romit |
last post Mar 10 '08 by: acoder
I would like to know how can i add items having same name attribute in javascript..
|
thread by: cd123 |
last post Mar 10 '08 by: ashumpatil
Hi,
I used Date object of Javascrips to compare two dates like one is the from date and the other is to date.
var obj1 = new Date(from date);
var obj2 = new Date(to date);
then i used getTime to compare these two dates.
Its working fine for all the cases except
if the from date is 31st of a month and to date is the 1st of the following...
|
thread by: kirtangl |
last post Mar 10 '08 by: acoder
Hi
I am kinda a noob when it comes to coding, but I have been doing some html, javascript etc. I'm creating a stopwatch (using a code I found and edited a little bit) But I need to make one change, I want the text box's to change form one color to another when the time goes past 900seconds, or 15 minutes. Here is the script I'm using...
...
|
thread by: shivapradeep |
last post Mar 10 '08 by: acoder
Hi
i have a popup which appears once when the page is opened and then the cookie is deleted on the no of days mentioned, but here i need to change it on the session basis, i;e when the page is closed event the cookie as to be deleted. Below is what the code i have been using. Please help me out on this.
Thanking You,
Regards,
Shiv.
...
|
thread by: SunshineInTheRain |
last post Mar 10 '08 by: acoder
The following code is dynamic create dropdownmenu which data within pulled from database
However, the code work well on IE but not on Firefox. On Firefox, the whole mouseover and mouseout function din't work. what is not supported on Firefox? the javascript syntax? please help as i am not familiar with javascript. thanks in advanced. this is...
|
| |
thread by: daveftl |
last post Mar 10 '08 by: acoder
Hello to all..
does anyone have an idea how to renew the back-button functionalities of a browser in AJAX? ...please help i need it badly :(
thanks!
|
thread by: SunshineInTheRain |
last post Mar 10 '08 by: acoder
Hi everyone, anyone please kindly help me check out the javascript below? The code run well for IE but do not work on firefox. while on firefox, it promt error of "obj has no properties". I think it may be the syntax that not supported on firefox, but i do not know what the syntax suppose for firefox. Could anyone expert in javascript lend me a...
|