www.webdeveloper.com

Search:

Type: Posts; User: texas1992

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    209

    How to deal with undefined variable

    I have a classic ASP page. On the page I have table cells that were setup to work like buttons (see code below). If a certain variable is not populated I want to display disabled cells. Here is...
  2. Replies
    0
    Views
    295

    How to get value from combobox

    I have a combo box that I need to retrieve the selected value from. Here is what I have but it is not working:


    <body style="background-image:none" bgcolor="#FFFFFF" text="#000000">
    <%
    sSQL =...
  3. Replies
    20
    Views
    344

    That did it!! Thank you so much for your help...

    That did it!! Thank you so much for your help and time.
  4. Replies
    20
    Views
    344

    Ok, I tried it with and without the + signs and...

    Ok, I tried it with and without the + signs and got the same result.

    Error code:
    Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR...
  5. Replies
    20
    Views
    344

    This is the code:

    This is the code:


    <script type="text/javascript">
    function onCloneFloorObjects()
    {
    if(!assertLayoutLoaded()) return false;

    var myvar=<%=dspLayoutName%>;
    //if(myvar){ //or
  6. Replies
    20
    Views
    344

    Yes, if I only knew how to do that. This is not...

    Yes, if I only knew how to do that. This is not my code but I have been asked to make it work. It was written over 10 years ago and my boss wants it revived. I haven't done any coding in years. I...
  7. Replies
    20
    Views
    344

    I'm sorry but I should have told you this from...

    I'm sorry but I should have told you this from the beginning.

    The page displays a floor plan of the offices that we occupy. This is just an image. The user can then click on a button that opens...
  8. Replies
    20
    Views
    344

    Neither one worked. Thanks though. Here is...

    Neither one worked. Thanks though.

    Here is what is rendered.


    var myvar=;
    //if(myvar){ //or
    if(myvar!=""){
    formFloorPlan.cloneof.value=fixQuotes(myvar);
    }
  9. Replies
    20
    Views
    344

    I need to check for postback because this is what...

    I need to check for postback because this is what comes on the first pass.



    if(){
    formFloorPlan.cloneof.value=fixQuotes('"'++'"');
    }


    The variable has not been populated yet.
  10. Replies
    20
    Views
    344

    Thanks for the suggestion, however, it does not...

    Thanks for the suggestion, however, it does not work. When the page first comes up the variable is empty and this is what I get:



    formFloorPlan.cloneof.value=fixQuotes('"'++'"');


    This...
  11. Replies
    20
    Views
    344

    Thanks for your suggestion but it didn't work. ...

    Thanks for your suggestion but it didn't work. The function fixQuotes gets the following:



    formFloorPlan.cloneof.value=fixQuotes(Mona's Test Layout);


    The apostrophe is causing an error. ...
  12. Replies
    20
    Views
    344

    Adding quote to server side variable

    How can I get this code to work?



    <%@Language="JSCRIPT"%>
    <%

    function fixQuotes(aString)
    {
    sText = new String(aString);
  13. Replies
    2
    Views
    322

    I can't allow access to the site because it is...

    I can't allow access to the site because it is very secure. However, I removed the CSS's and everything was displayed. Thanks for that hint. Now I just need to see where the problem is.
  14. Replies
    2
    Views
    322

    Controls not displaying

    I'm not sure if this is where I should put this but I need help so here it goes.

    I have an asp.net page that worked fine a couple of months ago but when I tried to run it today the header won't...
  15. Replies
    4
    Views
    440

    Thanks for your reply. I finally got the result...

    Thanks for your reply. I finally got the result that I needed. I think it was the double quotes that you used because I had tried using the variable like you suggested.
  16. Replies
    4
    Views
    440

    I have been able to trace the issue to this line...

    I have been able to trace the issue to this line of code:


    <option value='<%=rs("LayoutName")%>'><%=rs("LayoutName")%></option>


    The problem is in the "value" section of the option tag. The...
  17. Replies
    4
    Views
    440

    Problem with apostrophies

    I have an issue where I pull values from a database. The values have apostrophe's in them but when they are displayed on the page the string stops at the apostrophe (i.e. today's is displayed as...
  18. Replies
    2
    Views
    448

    I did try without the self. in frontof the code...

    I did try without the self. in frontof the code and I still get the error message "opener.document is null or not an object".

    Thanks.
  19. Replies
    2
    Views
    558

    Apostrophe's in strings

    I have an issue where I pull values from a database. The values have apostrophe's in them but when they are displayed on the page the string stops at the apostrophe (i.e. today's is displayed as...
  20. Replies
    2
    Views
    448

    Passing data from Child to parent

    This seems to be a common problem. I have posted before but didn't get a resolution so I am going to post again but a little differently.

    What I need to do is pass a value from a child popup...
  21. Replies
    4
    Views
    696

    That was it. Thanks so much.

    That was it. Thanks so much.
  22. Replies
    4
    Views
    696

    Thanks for the reply. I tried it and it seems to...

    Thanks for the reply. I tried it and it seems to have worked partially. Now I get an error on line 3:


    var username = new String(Request.ServerVariables("LOGON_USER"));
    var tempS =...
  23. Replies
    4
    Views
    696

    Getting the username

    I need to get the username from windows. This is the code that I have that is giving it to me



    var username = Request.ServerVariables("LOGON_USER");
    var temp = new Array();
    temp =...
  24. Replies
    17
    Views
    1,442

    I can't post the pages because there is a...

    I can't post the pages because there is a database that runs the whole thing. Thanks anyway.
  25. Replies
    17
    Views
    1,442

    I can't post them because there is a database...

    I can't post them because there is a database that runs everything. Thanks anyway.
Results 1 to 25 of 58
Page 1 of 3 1 2 3
HTML5 Development Center



Recent Articles