Search:
Type: Posts; User: p.phresh
Search :
Search took 0.01 seconds.
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.
...
no. it won't work.
You will have to open the page and check the DOM for any of that text.
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...
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...
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...
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 ... />
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/>...
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?
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...
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...
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...
can you provide the HTML to go along with this?
HTML portion:
<input id="txt1" />
<input id="txt2" onblur="checkValue(this);" />
Javascript Portion:
will this do:
http://jsfiddle.net/
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.
...
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...
if you're using jQuery, here's what i'm using. somewhat customizable:
http://jsfiddle.net/ePqxX/
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...
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...
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.
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()...
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:...
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 =...
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...
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....