I found the problem. I can't use document.getEle mentById('dynTa ble')..
I declared my table as follows:
theTable = (document.all) ? document.all.dy nTable :
document.getEle mentById("dynTa ble")
theTableBody = theTable.tBodie s[0]
And the code that works in both browsers is
theTableBody.ge tElementById('d ynTable').rows[i].cells[0].firstChild.val ue;
...
User Profile
Collapse
-
IE vs Firefox first row in the table
Hi there. I'm having a problem in which Firefox views the 1st row of a table as rows[0], but IE is saying there is no rows[0] and the first row is rows[1].
What is possibly going on here?
Here is the code I use.
document.getEle mentById('dynTa ble').rows[i].cells[0].firstChild.val ue;
If I set i = 0, then IE returns me an 'error Object required'. However the same code in Firefox works... -
URL alias causes page to not recognize relative directory links
I am using RewriteRule to Rewrite as follows:
http://localhost/pages/user1 gets translated to http://localhost/Pages.php?user= user1
I am able to get the URL to change, but now the Pages.php file does not process correctly because it link to other files. For example:
require_once("x ajax/xajax_core/xajax.inc.php") ;
It still think that the path is in the pages directory and... -
I was able to get this to work with .htaccess file only, and not with the httpd.conf file.Leave a comment:
-
My problem looks to be that apache is not processing my Rewrite or Alias commands.
I have made sure the Rewrite Module is uncommented out, and I am testing with the following lines of code in the httpd.conf file.
# Rewrite URL's
RewriteEngine on
RewriteRule ^/oldstuff$ Register.php
I then restart the webserver, and type 'http://localhost/oldstuff' which I would expect would rename...Leave a comment:
-
aliasing a URL
Lets say I want to alias a URL based on the following example:
User types 'http://website.com/page/hotdogs'
I want this to then be aliased to 'http://website.com/process.php?id= hotdogs
I looked as aliasmatch, and scriptaliasmatc h, but I couldn't find any good examples on how to accomplish this.
-RP
No activity results to display
Show More
Leave a comment: