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: femto
Date: 23 Mar 2007 07:57:58 -0700
Related Postings: 1 2 3
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="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:
>
>
>
>
>
>
>
>
>
>
>
>
> style="display:none">
>
>
Current mode:
> class="TBTopBarStatusMode">

>
> src="../../../../resources/images/tb_right.gif" />
> src="../../../../resources/images/tb_down.gif" />

> cellpadding=0 cellspacing=0 class="Toolbar">

> class="TBGroup TBGroup0">
>
>
>
> style="position:static">
>
Search

>

>
>

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

>

>

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

>

>

>
>

>

> class="arfid1020 ardbnCustomResultsList" style="top:2; left:2; width:
> 636; height:60;visibility:hidden;z-index:0;"
> ARCols="536890911,536890912,536890913,536890914,536890915,536890916,536890917"
> ARColWs="112,70,112,112,140,70,140" ARDrill=1 ARServer="@"
> ARSchema="@" ARMaxRows=0 ARDType=1 ARCSize=0 ARFixHdr=1 ARSelRows=0
> ARSelInit=0 ARSelRefresh=0 ARAutoFit=0 ARSort=""
> ARQual="{qual:"", ids:[],extids:[]}">
> >
> class="TableSortImgDown" ARInDOM=1 />

> class='TableHdr' cellpadding=0 cellspacing=0>

> valign=middle class='TableHdrL'>

> class='TableHdrR'>

> class='TableInner'>

> cellpadding=0 cellspacing=0>

> class='TableFtrL'>

> td>

>
>

>

>

>

>
> >
>

>
 

>

>
>

>

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

>

>
>

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

>

>

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

>

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

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

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

>

>

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

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

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

>

>

>

>
>

>

> class="arfid300000050 ardbntxt_banner trimdiv" style="z-index:
> 1005;background-color:transparent;top:15; left:250; width:410; height:
> 35;">
>
> cellpadding=0 cellspacing=0>
>
>
>
Remedy IT Service Management for the Enterprise
> td>
>

>

>
> ARDBN="O2_btnOrganisation" class="btn btn3d arfid750000000
> ardbnO2_btnOrganisation" style="top:87; left:376; width:45; height:
> 21;visibility:hidden;z-index:1048;">
3rd
> Pty

>

>

>

> class="df dfro arfid661000230 ardbnOrganisationType" style="z-index:
> 1046;top:86; left:430; width:274; height:21;">
>
>
>
> style="top:1; left:0; width:19; height:19;" />
>

>

>
> ARDBN="Profile" class="btn btn3d arfid240000019 ardbnProfile"
> style="top:110; left:376; width:45; height:21;z-index:1042;">
> class="btntextdiv" style="top:0; left:0; width:45; height:21;">
> class="f1" style=";width:45">View

>
>

>

>
>
>
> style="top:1; left:0; width:19; height:19;" />
>

>

>

> class="df dfro arfid660000268 ardbnO2_Authenticated" style="z-index:
> 1043;top:184; left:174; width:198; height:21;">
>

> style="top:0; left:91; width:107; height:21;"
> ARSelMenu="[{v:"No"},{v:"Yes"},{v:"Not
> Required"}]">
>
> style="top:0; left:0; width:86; height:19;" />
>
>
> style="top:0; left:-1; width:19; height:19;" />
>

>

>

>

>
>

>

>
>

>

>
>

>
>

> class="df dfro arfid640000002 ardbnDialledDepartment" style="z-index:
> 1025;top:257; left:136; width:236; height:21;">
>
>

>

>
> type="text" style="top:0; left:89; width:159; height:21;" readonly
> ds=0 />
>
>
>

>

>

> class="arfid300196300 ardbnPageTitle_txt trimdiv" style="z-index:
> 1000;background-color:transparent;top:50; left:135; width:271; height:
> 25;">
>
> cellpadding=0 cellspacing=0>
>
>
>
>
Remedy Telephony

>

>

> ARDBN="NavigationSideBarTrimBox" class="arfid301172200
> ardbnNavigationSideBarTrimBox bs4" style="z-index:992;background-
> color:#ffffff;top:49; left:0; width:125; height:258;border-width:2;">
>

>
>

> ARType="SearchBar">
>
> Search Bar
>

>
>

 

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