User Profile

Collapse

Profile Sidebar

Collapse
sva0008
sva0008
Last Activity: Aug 6 '09, 12:17 AM
Joined: Apr 8 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • sva0008
    started a topic Does not work in firefox

    Does not work in firefox

    i have a auto suggest script that does not work in firefox , works great on IE.

    Code:
    /*******************************************************
    
    AutoSuggest - a javascript automatic text input completion component
    Copyright (C) 2005 Joe Kepley, The Sling & Rock Design Group, Inc.
    
    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General
    ...
    See more | Go to post
    Last edited by Dormilich; Aug 6 '09, 05:29 AM. Reason: Please use [code] tags when posting code

  • sva0008
    started a topic passing value from one page to another

    passing value from one page to another

    hi , I am using.


    [HTML]<input type=button class=tbox value="Populate SA" style="width: 90%" onClick="window .location='../SA/Sample.asp?ToDo =FromFeed&Conta ctName=<%=First Name%>&Address= <%=Address%>&Ci ty=<%=City%>&St ate=<%=state%>& ZipCode=<%=Zip% >&Phone=<%=Cont actPhone%>&Note s=<%=Comments%> <%=resolution%> &ordDate=<%=Dat e%>';"...
    See more | Go to post
    Last edited by acoder; Nov 14 '08, 05:56 PM. Reason: Added [code] tags

  • sva0008
    started a topic Donot allow Checkbox to uncheck

    Donot allow Checkbox to uncheck

    Hi,
    I want a checkbox in such a way that if it is uncheck the user can check it.
    but if it is checked the user should not be able to uncheck it .
    can anyone please help.

    Regards
    See more | Go to post

  • sva0008
    replied to encryption
    can anyone post the code for this.
    See more | Go to post

    Leave a comment:


  • sva0008
    started a topic encryption

    encryption

    Hi ,
    i am new to visual basic .
    I have this scenerio .
    i have a table name paytable with columns:
    id , Account number , encrypted_acc .

    I want to write a VB program to select all the account number from the table paytable.
    and then send each account number to encryption Dll which is alredy written.
    and then store the encrypted account number in column encrypted_acc.

    can any...
    See more | Go to post

  • sva0008
    started a topic Onclick send value of text box.

    Onclick send value of text box.

    I want to send the value od the textbox when the user click update Button:
    i have written this code but i thikn there is some syntax error it dosent send the value insted it sends the string "document.form. ....."

    Code:
    sql = "select * from productPrice"
    rs.open sql, conn
    do while not rs.eof %>
    <tr>
        <td><font color=black size="2"><%response.Write
    ...
    See more | Go to post
    Last edited by acoder; Jul 3 '08, 09:12 AM. Reason: Added [code] tags

  • sva0008
    replied to validation of mandatory fields
    I am using this code but it dosent work.

    Code:
    function validateBatchNumber(){
            <% for j =1 to 5 
            
               sql = "select * from batchcontrol where fieldID ='"& j &"' order by fieldID"
                Rs.open sql,oConn 
            
    		//for(var i=0;i<document.form1.BatchFields.length;i++)
    		//{ alert(document.form1.BatchFields[i].value)
    ...
    See more | Go to post
    Last edited by acoder; Jul 1 '08, 08:42 PM. Reason: Added [code] tags

    Leave a comment:


  • sva0008
    started a topic Foreign key

    Foreign key

    I have a table name product
    that have column productCode (primary key), name address , ph , warehouse .



    I want to create a new table with columns productcode and price.

    with productcode as primary key and foreign key to productinfo table.



    I am new to sql server can anyone let me know how to make it foreign key.
    See more | Go to post

  • sva0008
    replied to validation of mandatory fields
    i know but can anyone please let me know how to do this?...
    See more | Go to post

    Leave a comment:


  • sva0008
    started a topic validation of mandatory fields

    validation of mandatory fields

    Hi ,
    I have a scenario in which i have four input fields in asp with the same name batchlist.
    I have a button called add batch .
    The user can add the batch by clicking the add batch button . out of the four asp input field there are some field which the user cannot leave blank . we can know that mandatory field by the SQL table by checking the Ismandatory field.

    i want to validate it by writing a javascript so...
    See more | Go to post
    Last edited by gits; Jun 26 '08, 05:55 PM. Reason: added code tags

  • sva0008
    replied to Redirect page in javascript.
    Thanks it worked for me.
    Regards
    See more | Go to post

    Leave a comment:


  • sva0008
    started a topic Redirect page in javascript.

    Redirect page in javascript.

    Hi,
    How do i redirect page in the javascript function?
    I am using
    Response.redire ct ("LoadDetail_DS .asp");

    but it gives me error :
    'Response' is undefined.

    Thanks
    See more | Go to post

  • sva0008
    started a topic passing submit button value

    passing submit button value

    I have a form with name DSform. i have two submit buttons with value "save all" and "save some "
    the action of the form is page2.asp.

    I am using this code in function

    document.DSform .submit();

    can anyone please help me know how can i pass the value of submit to next page using
    document.DSform .submit();.

    Thanks
    See more | Go to post

  • sva0008
    started a topic Javascript Yes No Button.

    Javascript Yes No Button.

    Hi ,
    I have a form in that form i have a button named " GO Back "
    I want that whenever the user press the button a message window should pop out asking user:
    Do you want to save the form , if the user press yes then the form should be saved else if the user say no the window should close.

    can anyone please help me how to implement it.

    Thanks In Advance
    See more | Go to post

  • sva0008
    started a topic enable the link once page loads

    enable the link once page loads

    HI,
    I have a link , when i click the link it opens a page in another window and disable the link .
    I want such that once the new window is loded the link should be enabled.

    below is the link:

    [HTML]<a href="javascrip t:EqpWindow('eq uipment_entry_f orm.asp?cabrv=< %=objRS("Carrie rCompany")%>&Cl oseWinAlert=Y') ;" onclick="this.d isabled=true;th is.onclick=func tion(){return...
    See more | Go to post
    Last edited by acoder; Jun 14 '08, 11:19 AM. Reason: Added code tags

  • sva0008
    started a topic close pop up

    close pop up

    from a parent window im using this code to open a popup:

    [CODE=javascript]OpenWin = dhtmlwindow.ope n("CarrListPopU p", "iframe", "CarrListPopUp. asp?origin=<%=r equest.serverva riables("URL")% >&carrname=" + escape(field) + "&sType=" + escape(cType) + "&new=1", '::: Carrier List :::', 'width=850px,he ight=400px,left =10px,top=30px, resize=0,scroll ing=1');[/CODE]...
    See more | Go to post
    Last edited by gits; May 3 '08, 09:25 AM. Reason: added code tags

  • query to fill one column with othe column in same table

    have a table that have 5 colums

    ID, month , day , year and Date

    The table have month , day , year column as blank i want to write a query so that i can

    update month , day and year column using date column as in month part of that date , day part of that date and year part of that date . ID is a primary key in Table.

    Any help is much appreciated

    Thanks
    See more | Go to post

  • sva0008
    started a topic error

    error

    Code:
        
        Set dbConn = CreateObject("LUCSDBConn.clsLUCSDBConn")
    i am getting an error ActivX component cant create object .
    HOW CAN I REMOVE THIS.
    See more | Go to post

  • sva0008
    started a topic Syntax error

    Syntax error

    I am writing a dynamic query
    [code=mysql]
    insert into Tablename select '1111',
    name,address,ph one,'1111', exec usp_storedProce dureName '1111', '1111', 'KA','EA'
    from edi856Item
    where autoid = '1111'[/code]I dont know why I am getting this error i think there is some syntax error:

    Msg 156, Level 15, State 1, Line 3
    Incorrect syntax near the keyword 'exec'.
    Msg 156, Level 15, State 1,...
    See more | Go to post
    Last edited by ronverdonk; Apr 9 '08, 10:47 AM. Reason: code tags!!
No activity results to display
Show More
Working...