Results 1 to 6 of 6
  1. #1

    Default client and server side script problem (ASP-JAVASCRIPT)


    is it possible to compare client variable to server variable.

    i have this code and its not working. its a simple if statement...

    <%if rssuppliers.fields("pk_supplierid")= %> document.frmcontact.txtsupplierid.value <% then %>


    tnx

  2. #2

    Default Re: client and server side script problem (ASP-JAVASCRIPT)

    possible man siguro...


    murag naka-try ko ana... kanang inig dayon ug load sa page bai... try lang ug simple codes bai


    sample:

    <html>
    <%
    a="hello"
    if a=%> "hello" <% then
    response.write ("hello")
    else
    response.write("hi")
    %>
    </html>


    yeah! bling bling men...abz'

  3. #3

    Default Re: client and server side script problem (ASP-JAVASCRIPT)

    kibs no good nangita ko source w/c is IMPOSSIBLE to COMPARE DIRECTLY client var to server var. And d work around, PASS VALUE to client var...
    anyway in my heres what i do:


    function sel_sup(){
    document.frmcontact.cbosuppliers.value = opener.pass_supid;
    }


    <body onload='initform(); sel_sup();' >

  4. #4

    Default Re: client and server side script problem (ASP-JAVASCRIPT)

    awww dili diay pwede?... hehe...

    gamit nalang ug AJAX


    yeah! bling bling men...abz'

  5. #5

    Default Re: client and server side script problem (ASP-JAVASCRIPT)

    client to "static" server data..(inimbinto rana nako nga term haha)

    ig generate sa page..

    mag himo ka og function sa asp nga mo generate og "Javascript code".. nga iya daan i embed ang mga values...

    but not a good idea heheh.

  6. #6

    Default Re: client and server side script problem (ASP-JAVASCRIPT)

    SK- work for me and mix with AJAX

  7.    Advertisement

Similar Threads

 
  1. Replies: 207
    Last Post: 03-30-2014, 05:35 PM
  2. Replies: 943
    Last Post: 02-12-2012, 12:19 PM
  3. Sun Cellular: The Bright and Dark Side
    By Tamblot in forum Networking & Internet
    Replies: 81
    Last Post: 02-08-2011, 06:28 AM
  4. "?" Double Sided and Single Sided
    By cyrus-kanca in forum Computer Hardware
    Replies: 18
    Last Post: 02-01-2007, 04:07 PM
  5. single and double sided
    By boyek in forum Computer Hardware
    Replies: 3
    Last Post: 12-10-2006, 07:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top