No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
oldie ibm assemble programmer
8 Posted Topics
I have a form that has specific field layouts that does not use <p <a formats so i need a javascrip function. the href work just great it pops up a client side email form and prefills the "to" and "subject". this is a scheduling form and the user may … | |
Here is html <asp:datagrid id="mrpDataGrid" style="Z-INDEX: 289; LEFT: 576px; POSITION: absolute; TOP: 512px" runat="server" Width="160px" Height="90px" autogeneratecolumns="False"> <AlternatingItemStyle BackColor="LightGray"></AlternatingItemStyle> <Columns> <asp:BoundColumn DataField="SCHEDULE_DT" HeaderText="Scheduled Date" DataFormatString="{0:d}"></asp:BoundColumn> <asp:BoundColumn DataField="SCHEDULE_QTs" HeaderText="Summed Quantity"></asp:BoundColumn> </Columns> </asp:datagrid> I need to get values of both bound columns to use in calculations. TIA javascript newbie | |
Re: i have found that is the field is visible = false javascript can not find it in IE7. if you have it set to that then make it visable and see if that works. | |
i have 5 fields that show a numeric amout. dem2textbox.text iif2textbox.text fir2textbox.text fab2textbox.text net2textbox.text vb.net allow me to format the value from example 1000 to 1,000 using this code. wn = iff2TextBox.Text iff2TextBox.Text = wn.ToString("N0") fields names below shortened for example. my javascript gets run any time iif2, fir2 or … | |
I tried several things. i get invalid char or no object. can one change fore color or setup a mask. the text box contains numbers and if the number is negitive i need it to show in red, black if not. var oRed = '#ff0000' var oBlack = '#000000' if … | |
I have created the foloowing javascript and placed it in a file called common.js. it gets called on a onChange event. it works up till it gets to setting the value (i think). Being my first script i'm really at a loss why it errors out. I tried .value() = … | |
(code) function recalcnet(txt) { switch (txt) { case '0' : recalcnet1(); break;}} function recalcnet1() { var prevbal = 0; var demand = 0; var whatif = 0; var sched = 0; prevbal = document.getElementById('BegInvTextbox').value; demand = document.getElementById('dm1TextBox').value; whatif = document.getElementById('ifm1TextBox').value; sched = document.getElementById('fmm1TextBox').value; document.getElementById('nm1TextBox').value(prevbal - demand + whatif + sched)}; … | |
Current app runs a stored procedure which runs 16 nested procedures and takes from 3 to 10 min depending on how must data needs download from the as400. The problem is that there are some other web apps on the web serverr that use old com objects that have memory … |
The End.