Messages - aalift [ switch to compact view ]

Pages: [1]
1
Developer's Corner / need help with an on-click java script
« on: November 16, 2008, 01:01 PM »
can someone give me the basic script for a on-click java funtion? what it needs to do is open a window/page in existing form and not show what wasin form then it needs to do a mysql search for prices in datad base and put into the window it has pulled up. heres where the onclick command is:
<tr catcode="Trans/Drive Axle" class="GridRowAlt" onMouseOver="Category_SetActive(this,'AC0927347                  ');" onMouseOut="Category_DeActivate(this);" onClick="Category_ClickEvent('AC0927347','2');" style="display: none">
                            <td style="width: 15px" class="GridRowDetails" id="AC0927347">&nbsp;</td>
                            <td class="GridRowDetails">&nbsp;AC0927347</td>
                            <td class="GridRowDetails">&nbsp;Bearing, Cone</td>
                            <td class="GridRowDetails">&nbsp;2</td>
                            <td class="GridRowDetails">&nbsp;Wheel, Inner</td>
                          </tr>
i need this filled in:
function Category_ClickEvent

it suppose to pull this file:
www.allforkliftparts.com/partinquiry.php
and can use some the info from above but has to get prices from mysql data base. any help will be appreciated
thanks

2
hi
im no expert but i think it means you need this?
onclick="SomeJavaScriptCode"


Parameter    Description
SomeJavaScriptCode    Required. Specifies a JavaScript to be executed when the event occurs.

heres a good site
http://www.w3schools.com/jsref/jsref_onClick.asp

hope it helps

3
I'm building an on line forklift parts store (www.allforkliftparts.com) and am stuck on page three. need someone who knows java php and mysql to rewrite some scripts so page will do what i want it to do and then to link it with paypal after the last page. i can give ya more details as needed. but if ya wanna see problem go to main page , select Allis Chalmers then select the first model , clack a tab and then click a part number and theres where I'm stuck.
can  anyone help me
thanks
aalift
[url=http://www.allforkliftparts.com]

Pages: [1]
Go to full version