www.webdeveloper.com

Search:

Type: Posts; User: p.phresh

Page 1 of 6 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    16
    Views
    1,864

    syntax error in my last post, should be this: ...

    syntax error in my last post, should be this:


    var patt = new RegExp("^"+tb.value,"i");

    you could also do away with the toLowerCase() since the regular expression is case insensitive.


    ...
  2. Replies
    2
    Views
    1,406

    no. it won't work. You will have to open the...

    no. it won't work.

    You will have to open the page and check the DOM for any of that text.
  3. Replies
    5
    Views
    1,805

    looks like you found a solution to your problem? ...

    looks like you found a solution to your problem? I can see the whole excel sheet without scrolling in the iframe.

    For future reference, the percentage value for height only applies to its parent...
  4. Replies
    16
    Views
    1,864

    back on topic. on to the next problem.... ...

    back on topic.

    on to the next problem....

    You probably want to do a match using a regular expression:
    http://www.w3schools.com/jsref/jsref_obj_regexp.asp



    var patt = new...
  5. Replies
    16
    Views
    1,864

    are you sure there are option elements being...

    are you sure there are option elements being written to the page?
    is there sufficient time for the DOM to reload to include the new option elements?

    So the for loop isn't entering at all?
    I...
  6. Thread: onchange

    by p.phresh
    Replies
    5
    Views
    725

    you're using cold fusion? I'm not sure if these...

    you're using cold fusion? I'm not sure if these javascripts work in cold fusion. Can you try in regular HTML first to see if it works for you?

    Also try closing the input element <cfinput ... />
  7. extra '>' in there: ...

    extra '>' in there:


    <member level="Premium">
    <name>Uma Thu</name>
    <address>25 Longton Lane, Delphi, KY 89011</address>
    <phone>(531) 555-8730</phone>
    <e-mail/>...
  8. Replies
    1
    Views
    678

    I can view the page you linked to...

    I can view the page you linked to (http://ryanbuckley.ca/findingaid/chusseau-flaviens.xml) in both FF and IE.

    Which version of IE does it not display in? Do you get an error message?
  9. Replies
    3
    Views
    7,395

    How do you plan to integrate the XML? via...

    How do you plan to integrate the XML? via Javascript or PHP? You can extract the data from the other site, however it will be useless to you without an XSLT to parse the XML into something that can...
  10. Thread: onchange

    by p.phresh
    Replies
    5
    Views
    725

    Works here: http://jsfiddle.net/pphresh/AQ3MJ/1/...

    Works here:
    http://jsfiddle.net/pphresh/AQ3MJ/1/


    the change will occur when you click off the input field. You can also try switching onblur with onchange. It may suit your needs better. try...
  11. Replies
    16
    Views
    1,864

    do you get any errors? can you get any alerts to...

    do you get any errors?
    can you get any alerts to show up at all?

    What about a simple alert(i)? will that produce anything?
    Can you alert document.getElementById("lstEmpList").options.length...
  12. Replies
    16
    Views
    1,864

    can you provide the HTML to go along with this?

    can you provide the HTML to go along with this?
  13. Thread: onchange

    by p.phresh
    Replies
    5
    Views
    725

    HTML portion:

    HTML portion:


    <input id="txt1" />
    <input id="txt2" onblur="checkValue(this);" />



    Javascript Portion:
  14. Replies
    2
    Views
    623

    will this do: http://jsfiddle.net/

    will this do:
    http://jsfiddle.net/
  15. Replies
    2
    Views
    4,283

    that's a lot to ask for. You're going to have to...

    that's a lot to ask for. You're going to have to provide something you've already started on so we can help you with what you've already got. We're not going to write the entire thing for you.
    ...
  16. Replies
    17
    Views
    1,880

    try changing your links in the background...

    try changing your links in the background declarations on your CSS page to:

    background-image: url("../images/YellowBG.png");


    the images are probably in another directory, and you moved your...
  17. Replies
    3
    Views
    1,609

    if you're using jQuery, here's what i'm using. ...

    if you're using jQuery, here's what i'm using. somewhat customizable:

    http://jsfiddle.net/ePqxX/
  18. Replies
    2
    Views
    1,844

    you can try loading the XML into a new javascript...

    you can try loading the XML into a new javascript object, try this:

    http://www.w3schools.com/dom/dom_parser.asp

    once you've got it in an object you can read the XML, however you won't be able...
  19. Replies
    5
    Views
    1,275

    your html code is very old and filled with a lot...

    your html code is very old and filled with a lot of errors, you should clean it up.

    Anyways.... i think you're trying to achieve this:
    Clicking the picture to cycle through the images?

    you can...
  20. Replies
    1
    Views
    1,301

    You may want to read up more on how to write the...

    You may want to read up more on how to write the xslt. What you have now will not work.

    you may want to read up on <xsl:template match="..."> to get your desired results.
  21. Thread: XML and Saxon

    by p.phresh
    Replies
    0
    Views
    1,821

    XML and Saxon

    Looking for some help trying to get Saxon to work with my XML and XSLT.

    I am creating a table of contents.

    I have an XML file which is basically a list to other XML files.
    I use the document()...
  22. Replies
    1
    Views
    1,377

    How to resolve System Entity?

    given this declaration at the top of the XML:

    <!DOCTYPE dmodule [
    <!ENTITY arwright SYSTEM "..\..\style\symbols\arwright.gif" NDATA gif>
    ]>


    and this is used in the XML following:...
  23. Replies
    2
    Views
    641

    what is the error you're getting? try this...

    what is the error you're getting?

    try this first (you only need one pair of braces {} per function):


    function swapImage()

    {
    document.getElementById("linkedin").src =...
  24. Replies
    4
    Views
    625

    this bit of code will produce a random number...

    this bit of code will produce a random number between 1 and 10 and never give you the same number twice:


    var randoms = new Array();
    for (var i=0; i<10; i++){
    randoms[i] = i+1;
    }
    var choice1...
  25. Replies
    3
    Views
    3,116

    looks like you're always getting false because...

    looks like you're always getting false because you're using the code in IE. (window.outerHeight doesn't work in IE)
    Works in FF.

    You can try modifying the code a bit to so it will work with IE....
Results 1 to 25 of 128
Page 1 of 6 1 2 3 4
HTML5 Development Center



Recent Articles