What happens when you remove the line...return "?";
when i remove that part it returns "null"
i figured it out though. i hate it when the problem is something totally stupid and small. like missing a bracket or not closing a tag correctly, in my case i had a small space in my code that should not have been there. i figured it out and now it works. the sad part is, i have been staring at my monitor since 930 this morning trying to figure it out. i have had my coworkers come in and check it out too. it evaded all of us. sheesh......
just a side question though (weird how everytime i figure something out, something else doesn't work)...
i got the info to display when one part is moused over. i want the info for another part to replace that text when the other part is moused over.
this is how i have it organized. the P01LEM14139 is the part number. so when i go to the next part i need the dynamic text to skip the first one and display the info for the second one.
<?xml version="1.0" encoding="utf-8"?>
<item><p>Pedal Strap With Toe Cage and Straps</p></item>
<item><p>Arm, Crank, Stainless Steel (Left)</p></item>
<item><p>Crank Arm Bolt, Each</p></item>
i copied and pasted the code from the first button and added this to the code that i had:
and i changed the rootNode parts to crankarmNode so now it SHOULD (if i understand this all correctly) go to the firstChild.childNodes (which is the part i need the info for) the problem is that it returns "null" for both text boxes.
am i not allowed to do that? or should i write that part a different way?