here is a a simplified version of my page:
<html>
<head>
<script language = "Javascript">
function makeYel(cb,ar,typerow){
activeRow = ar.parentNode.parentNode.rowIndex;
alert(document.getElementById("myTable").rows[activeRow].bgColor)...
The activerow is the rowindex of the table, so for example the row in position 6. I'll have to post all the code when I get back to the apartment, as I'm typing this from my mobile.
I have this function that changes the background color of a table row but it's not working correctly.
function changeColor(activeRow){
alert(document.getElementById("myTable").rows[activeRow].bgColor);
if (document.getElementById("myTable").rows[activeRow].bgColor == '#a2dd51')...
I have this script that allows me to move a table row up and down in a table.
var activeRow = 0;
function setActiveRow(el) {
var rows = document.getElementById('movingTable').rows;
for(var i = 0; i < rows.length; i++) {
if(rows[i] == el) {activeRow = i;}
}
}
function...
Why does this return results:
SELECT * FROM messages WHERE receiver_del = 'yes'
but this doesn't
SELECT * FROM messages WHERE receiver_del != 'yes'
There should be one result returned. there is one record that has the value in receiver_del set as yes.
The rest of the records have that...
I am using IE8.
this works in FF:
var dropdownValue = document.getElementById('ship').value;
but not in IE.
however if I do something like this:
var dropdownValue = document.getElementById('ship').selectedIndex;
it will show 0, 1, 2...etc in IE
I already tried setting the name and id both...
I have this little script that works fine in firefox but not IE:
var dropdownIndex = document.getElementById('ship').selectedIndex;
var dropdownValue = document.getElementById('ship')[dropdownIndex].value;
document.getElementById("siteTotal").innerHTML = dropdownValue;
it is invoked by...
Feherke, please don't make any assumptions about my goals. You know what they say about assumptions. They make an a.. out off u & me. If you can't help withe the scope of the project, please refrain your comments.
The point of the project is that I have a client who uses a number of portals for...
I am using the following script which works perfectly in Firefox, but in Internet Explore it's not working as expected. Basically, sometimes, the rollover effect works, and sometimes it doesn't. Also the menu rolls out slower in IE than in firefox.
Any help in debugging this issue would be...
This is no good. Your answer assumes that I would have control or access to all the portals' individual files, which I don't.
There must however be a way to do this. What about accessing the login info in FF's remember me feature, if that data can be somehow manipulated.
I've been scratching my head for many hours trying to figure out if this is possible.
Basically I have a client who uses a number of different web portals, and he wants a remote login system. Essentially he would log into his site, and we would have a page with links for each one of these...
How would i need to modify the following query
SELECT ads.*
FROM ad_categories
INNER
JOIN ads
ON ads.id = ad_categories.ad_id
WHERE ad_categories.cat_name = 'Wine and Cheeses'
If I had another table named ad_cities, that has the fields
"ad_id" and "city" in it, and has the same...
yes it does, there is one other thing and since i have to reformat the whole db I may as well do it right.
There is another table called subcategories. This table is a subset of each individual category, so it references the categories table. So in reality I'm supposed to pick records that...
what is the point of creating this table?
CREATE TABLE categories
( cat_name VARCHAR(99) NOT NULL PRIMARY KEY
);
if the category names are contained in the table ad_categories, which contains an id field that can be referenced.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.