Hia!
I have a question about tables and changing the contents of a particular row inside that table.
Something like this:
<table id=mytable>
<tr>
<td><input type=button name=foo value=click onclick=javascript:changethisrow(andthesecells);></td>
<td>1</td>
<td>2</td>...
Hia!
I have a problem with select box. I have to put alot of info on each <option> in a selectbox.
Looking something like this:
<select name=whatever>
<option value=1 id=1234>Some text</option>
<option value=2 id=5678>Some other text</option>
etc....
</select>
Is there some easy way to...
My godness! Youre a sly fellow.
You are actually adding an event on thefly from javascript. I've never dreamed of doing that. This was a breakthrough. I can actually change the contents and apperance of that damned <a href=...>'s when I'm loading the document. Never thought of that. *slapping...
theboyhope!
I want to open a popup with some values that is currently on the parent page. Along with this I must somehow send the "this" I guess. I'm working with the arrays (< href=...>) created by DOM and I must remember which one in the array to be able to point on exactly the <a...
Sorry theboyhope was weekend here.
Well the popup is going to do some checking to wether the parent is still there, if it has been reloaded...etc, but it's main function is to recieve values from parent. These values are to be tampered with and sent back to parent closing and sofort for all the...
You have to be more specific.
Do you want to just email with your form or do you want to email all the inputs/information that you have on the form?
DoTheLoop
Sorry if was unclear of what I was trying to achieve.
Thanks dwarfthrower for pointing that out.
My problem is tricky and I'm getting more convinced that it won't work.
Well here is the whole story:
First : Luckily (or unluckily depending on the current politics regarding which browser is...
Thanks for the reply.
But in this case you would need to name the "box1" uniquely for each <a href="" ...> you have on the page. In this case I haven't got that luxury (yet). The only thing I have is a row of <a href=""...>'s and they have no significant (sofar)...
Hi again!
I'm trying to figure out how to check which link the user has clicked on.
Goes like this:
<html>
<script>
function trapper() {
var collAElements = document.body.getElementsByTagName("A");
for (i=0;i<collAElements.length;i++) {
//trying to find which one the user has...
Thanks for the speedy reply.
Your suggestion takes care somewhat of the amount of elements to keep track on. Havent had time to test it, but it seems so.
But how do I proceed from here? Should I give up the solution of arrays on parent?
I know this is stupid to even be trying, but it is as it is and I cannot change this fact. The fact that it is a dynamic HTML-generator (engine) that creates a page with several duplicate fieldnames, on this page (parent) there are links that opens a childwindow where the user can change...
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.