www.webdeveloper.com

Search:

Type: Posts; User: Juliemac

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    528

    setAttribute error

    This code has worked for the longest time, but now has failed.
    I get this message:Unable to get property 'setAttribute' of undefined or null reference.

    I cant work this out for the life of me.
    ...
  2. Replies
    2
    Views
    530

    Ok. Well thanks guys....

    Ok. Well thanks guys....
  3. Replies
    2
    Views
    530

    Tried this too:

    Tried this too:

    <code>
    <input type="text" ID='Q<%=objrst2("operationID")%>' value=0>


    windows.document.form1.Q<%=splitdata(i)%>.value=windows.document.form1.Q<%=splitdata(i)%>.value + 1...
  4. Replies
    2
    Views
    530

    Affecting a text field

    I create a text box in ASP and name it automatically eg:Q71 or Q54.
    The numeric section does change, but not the first char.
    I need to read and write
    <code>
    var Celx = "Q" + <%=splitdata(i)%>
    ...
  5. Replies
    5
    Views
    1,040

    Ignore the +5. Problem is, Chrome and IE show...

    Ignore the +5. Problem is, Chrome and IE show dates differently.

    >>
    Chrome: Wed Jan 08 2014 00:00:00 GMT-0500 (Eastern Standard Time)
    IE: Wed Jan 8 00:00:00 EST 2014
    <<
    So that line will not...
  6. Replies
    5
    Views
    1,040

    Date format question

    This code works in Chrome, but not IE.
    <code>
    DateData = document.form2.D10.value;
    var Date7l = new...
  7. Replies
    21
    Views
    4,222

    Shaun, I am trying to accomplish the same thing. ...

    Shaun, I am trying to accomplish the same thing.
    In VB we have a function var=dateadd('d',datestr,+1). Adds one day.

    I can't find an equivalent in JS.
  8. Replies
    5
    Views
    637

    Yes it is. I know there is a way to reference the...

    Yes it is. I know there is a way to reference the textbox, I've used it before, but I cannot for the life of me remember how to do it.

    I could use a switch statement in a for next loop, then...
  9. Replies
    5
    Views
    637

    Ok. That makes sense.

    Ok. That makes sense.

    <input type="Text" id="D<%=Objrst1("id")%>" maxlength="25" size="25">
  10. Replies
    5
    Views
    637

    Reading fabricated textbox.

    My code starts in a loop, creates textboxes, the number of them dependant on available rows from an SQL query.

    How can I read them?
    The below code just errors out. Formdate[i] might be 0 to 6....
  11. Replies
    1
    Views
    457

    Ok. How can I tell what children are assigned to...

    Ok. How can I tell what children are assigned to each parent?
  12. Replies
    1
    Views
    457

    Reading object children

    I have 3 div tags on the page. I can drag and drop other div tags as children from one div to another.

    Now I want to read the childrens ID and order from the parent div tag on button click.


    ...
  13. Replies
    2
    Views
    683

    IE6 and IE7 and office 2000 at best. Its weird,...

    IE6 and IE7 and office 2000 at best. Its weird, One persons tabs work and anothers do not. The code above does not work with anyone who is running win 2000. XP is just fine. Both sets of machines...
  14. Replies
    2
    Views
    683

    Javascript & asp

    I can use the below code to open an excel spreadsheet in XP, but in 2000 it just shows an error in the automation system. Any ideas how to fix this?

    <Javascript>

    function OpenSSRS()
    {
    var...
  15. Replies
    3
    Views
    902

    I pulled that code from a non dated web page. is...

    I pulled that code from a non dated web page. is there a way to do it in javascript?
  16. Replies
    3
    Views
    902

    I am pulling the link from a database to populate...

    I am pulling the link from a database to populate segments of the page. I suppose I could replace the single"\" with the double "\\".
    I'll try it today!
  17. Replies
    3
    Views
    902

    Open a new instance of Word?

    I have the link to the file, but can I open an instance of excel from the javascript?
    I tried this, but it doe not open, the page just loops back on its self.

    <script language=javascript ...
  18. Thread: InStr Q

    by Juliemac
    Replies
    10
    Views
    854

    I am pulling the folder location of a document,...

    I am pulling the folder location of a document, breaking it up so the user can verify the name and type before storing it for them in a database.
  19. Thread: InStr Q

    by Juliemac
    Replies
    10
    Views
    854

    Perfect. Thanks. I need a life. I am writing...

    Perfect. Thanks.

    I need a life. I am writing code for work on Saturday night.
    (soooo sad....)
  20. Thread: InStr Q

    by Juliemac
    Replies
    10
    Views
    854

    I tried the replace cmd: ...

    I tried the replace cmd:
    <code>
    fileloc2=fileloc.replace('\','/')
    <?code>
    No luck. Using "\\" gave me "folder".

    ARRGGHH
  21. Thread: InStr Q

    by Juliemac
    Replies
    10
    Views
    854

    Ok, by using the "\\" I get "\Video\" from this...

    Ok, by using the "\\" I get "\Video\" from this string:

    Z:\folder\Video\mustangspin.wmv

    I want to grab the filename & extension
  22. Thread: InStr Q

    by Juliemac
    Replies
    10
    Views
    854

    InStr Q

    Breaking up a file location I need the file name, the last segmant AFTER a "\".

    <code>
    var filextn = fileloc.substr((fileloc.lastIndexOf('.')+1),3);
    document.form1.filextn.value=filextn;
    var...
Results 1 to 22 of 22
HTML5 Development Center



Recent Articles