PAGE2GO2 HOME | INTERNET NEWS

LeighExchange - Free Advertising Network Stock Research at Internet Speed

Re: How to work out which script to call to Save


> >
> >
> >
> >
> >
 List
Subject: Re: How to work out which script to call to Save
Poster: Angus
Date: 23 Mar 2007 08:17:27 -0700
Related Postings: 1 2 3
On 23 Mar, 14:57, "femto" wrote:
> I don't get you, if you want to call a method in .js,
> you just call it. Check out the reference.
>
>
>
> Angus wrote:
> > I have a web page with a toolbar containing a Save button. The Save
> > button can change contextually to be a Search button in some cases.
> > Hence the button name searchsavechanges.
>
> > The snippet of html is:
>
> >
> > style=3D"position:static">
> >
Search

> >

>
> > I want to call a script which will save the 'record' if you understand
> > me. But all I see is .js files. Can I call these .js methods from
> > javascript? If so how? Or if not is there any way, in javascript or
> > some code I can save the 'record' (obviously, I can manually click on
> > the Save button - but want to achieve this in code).
>
> > The full page appears below:
>
> >
> >
> > ">
> >
> >
> > ARSystem.css">
> >
> >
> >
> >
> >
> >
> > style=3D"display:none">
>
> >
Current mode:
> > class=3D"TBTopBarStatusMode">

> >
> > src=3D"../../../../resources/images/tb_right.gif" /> n"
> > src=3D"../../../../resources/images/tb_down.gif" />

> > cellpadding=3D0 cellspacing=3D0 class=3D"Toolbar">
=3D1
> > class=3D"TBGroup TBGroup0">
>
> >
> > style=3D"position:static">
> >
Search

> >

>
> >

> >
> > style=3D"position:static">
> >
Status history

> >

> >

> >
> > style=3D"position:static">
> >
Home

> >

> >

> >
> >

> >

> > class=3D"arfid1020 ardbnCustomResultsList" style=3D"top:2; left:2; widt= h:
> > 636; height:60;visibility:hidden;z-index:0;"
> > ARCols=3D"536890911,536890912,536890913,536890914,536890915,536890916,5= 368909=AD17"
> > ARColWs=3D"112,70,112,112,140,70,140" ARDrill=3D1 ARServer=3D"@"
> > ARSchema=3D"@" ARMaxRows=3D0 ARDType=3D1 ARCSize=3D0 ARFixHdr=3D1 ARSel= Rows=3D0
> > ARSelInit=3D0 ARSelRefresh=3D0 ARAutoFit=3D0 ARSort=3D""
> > ARQual=3D"{qual:"", ids:[],extids:[]}"> ./
> > resources/images/menu_down.gif" class=3D"TableSortImgUp" ARInDOM=3D1 /
> > >
> > class=3D"TableSortImgDown" ARInDOM=3D1 />

> > class=3D'TableHdr' cellpadding=3D0 cellspacing=3D0>

> > valign=3Dmiddle class=3D'TableHdrL'>

> > class=3D'TableHdrR'>

> > class=3D'TableInner'>
eFtr'
> > cellpadding=3D0 cellspacing=3D0>

> > class=3D'TableFtrL'>

>
> > td>

> >
> >

> >

> >

> >

> > t:0;
> > width:1652; height:50;" src=3D"../../../../imagepool/
> > ffffff944e3868ffffffc965ffffff89ffffffccffffffffffffffa542ffffffcf4ffff= ffc4=AD6ffffffae" /
>
> >

> >
 

> >
dfro
> > arfid640000009 ardbnCallID" style=3D"z-index:1032;top:53; left:430;
> > width:248; height:21;">
> >
> >

> >

> > class=3D"df arfid240000005 ardbnRequesterLoginName+" style=3D"z-index:
> > 1041;top:86; left:136; width:236; height:21;">
> >
> >

> >
=3D"df
> > arfid240000001 ardbnRequesterName+" style=3D"z-index:1039;top:109; left:
> > 136; width:236; height:21;">
> >
> >

> >
> > ARDBN=3D"O2_btnAuthenticate" class=3D"btn btn3d arfid660000281
> > ardbnO2_btnAuthenticate" style=3D"top:157; left:177; width:78; height:
> > 21;z-index:1044;">
th:
> > 78; height:21;">
Authenticate

> >

> >

> >
> > ARDBN=3D"O2_btnAuthenticationNotReq" class=3D"btn btn3d arfid660000500
> > ardbnO2_btnAuthenticationNotReq" style=3D"top:157; left:288; width:78;
> > height:21;z-index:1045;">

> >

> >
> > ARDBN=3D"btn_OrdersNew" class=3D"btn btnurl arfid640000007
> > ardbnbtn_OrdersNew" style=3D"top:200; left:4; width:128; height:20;z-
> > index:1030;background-color:transparent;">

> > style=3D"top:0; left:0; width:128; height:20;">

> > style=3D"text-align:left;;width:128">New Order

> >

> >

> >
> > ARDBN=3D"btn_OrdersSearch" class=3D"btn btnurl arfid640000008
> > ardbnbtn_OrdersSearch" style=3D"top:230; left:4; width:128; height:20;z-
> > index:1031;background-color:transparent;">

> > style=3D"top:0; left:0; width:128; height:20;">

> > style=3D"text-align:left;;width:128">Search Order

> >

> >

> >
"df
> > arfid240000002 ardbnPhoneNumber" style=3D"z-index:1040;top:132; left:
> > 136; width:236; height:21;">
> >
> >

> >
er"
> > class=3D"arfid300000050 ardbntxt_banner trimdiv" style=3D"z-index:
> > 1005;background-color:transparent;top:15; left:250; width:410; height:
> > 35;">
> > e"
> > cellpadding=3D0 cellspacing=3D0>
> >
> >
> >

> > trimJustl">Remedy IT Service Management for th= e&nb=ADsp;Enterprise> > td>
> >

> >

> >
> > ARDBN=3D"O2_btnOrganisation" class=3D"btn btn3d arfid750000000
> > ardbnO2_btnOrganisation" style=3D"top:87; left:376; width:45; height:- = Hide quoted text -
>
> - Show quoted text -...
>
> read more =BB

But what function do I call? If the function is not defined on the web page, can I still call it - eg it is a script on the server? If so how?

 

Page2Go2.com is not responsible for content of this message.