hi what happens is that I am making an Enrollment Form, and I have a text field where I need 2 comparisons, I assess the number of ICFES snp, and if prior to 2000 has 12 digits, and after the 2000 14 ... and I've tried and nothing ... restricts me when I'm older than 14.
function verificar(valor) {
var letras=document.form1.snp.valu...
The default behavior of the xsl on the right-hand side of
http://www.w3schools.com/xsl/tryxslt.asp?xmlfile=cdcatalog&xsltfile=cdcatalog
is to display a 2-column table with the title and artist of each CD in the XML on the left-hand side. (This is shown by the default output under "Your Result" at the bottom.)
I want to modify the ...
Hello:
I feel that this question has a simple answer; but, for the life of me, I could not figure it out. I am trying to convert a listbox selection to its string element so I can enter it into a database.
I understand that I can use .listbox curselection to get its index; however, I need to convert it into its string. Can anyone h...
See http://stackoverflow.com/questions/1468522/xslt-to-operate-on-element-value-before-displaying for the original XML and XSL. I got an answer to my question there.
My other question on this same XML/XSL is: if I would like to capture the value of an element (such as the "title" element) in an XSL local variable, and then operate on it...
I am trying to find a span element who has an id in a particular pattern. Its main use is to find certain elements rendered by an asp.net (aspx) page which is derived from a master page.
...
Hi guys! help please..say i have a list ((3 4 5) (d e f) (h i j) (5 5 5 5)) ) how can i get the last element of each list in such a way that the output would look like this (5 f j 5). Thanks in advance!
...
I have a picklist web interface: a pair of select elements with a pair of buttons (a left-pointing arrow and a right-pointing arrow) between them. Users can move items between the two columns by, eg, selecting one of options in the left column and clicking on the right-pointing arrow.
Now I have an enhancement request: someone wants to...
I tried a lot of ways but non of them worked. For example that one works:
$('#iframeid').ready(
function()
{
alert('Hello');
}
);
but following doesn't (alerts hello but do not focus.)
$('a:link').click(
function()
{
alert('Hello');
var iframeRef = document.getElementById("if...
<div id="dad">
<img id="mum">
<input>
</div>
With jQuery, how could i get access to the input element, get is value or set it for example? I can't work out how to access something on the same level.. and i dont want to be using ID's, just parent/child nodes so i can use the code for loads of dad div's
Thanks!
...
So, sometimes, my output will look like this:
<p><img src="someimage.jpg" /></p>
<p>A new paragraph</p>
Other times, it will look like this:
<img src="someimage.jpg />
<p>A new paragraph</p>
I'm trying to write some sort of "if" statement where, if the first p element in the markup surrounds an image tag, it will pull:
$j("p:eq(1)...
I'm nearly where I want to be, except that I can't figure out how to turn var imgt into a hyperlinked image. I've tried some things, but it keeps returning [object][Object]
$j('#hp-featured-item > div[id^="post-"]').each(function() {
var id=this.id.match(/post-(\d+)/);
var imgt = $j("img:eq(0)");
// I tried this but ...
So i have a unordered list, each item in the list has a button that is suppose to toggle the post comment textarea. Unfortunately with my first attempt when u click on one Post Comment button all textareas open, then i tried to use this to make sure only one element is selected. Here is the code:
<ul class="todosDisplay">
<li><span>Con...
i have many rows
List item - delete
List item - delete
List item - delete
like above 3 rows.. it has delete link, on click i want to disable that link, until i get response from ajax saying ok delete it or no not ok, dont delete it, user is not an owner, then i have to give the element back to clickable.. if that makes sence
basica...
I'm working on a problem set at college where were using c#. I have an array of integers (apologies first off if I don't know all the problem terms) and need to find the position in array of the maximum number (along with the minimum). I have it working but it doesn't seem a very good way to do it. Can anyone suggest a better way to achi...
This is my html code:
<img src="http://127.0.0.1/bookManagementProject/asset/images/mainLogo.gif"><a>
<br> <FONT SIZE=3 FACE="Arial"><br>   
<a href = "http://127.0.0.1/home.html" <b>Home<a> |
<a href = "http://127.0.0.1/login.do" <b>Login</a> | <form method="get" action= http://flyingame.gamehost.org:8080/search....
Hi all,
The getBoundingClientRect() does not work accurately for all cases. It fails when say a list of links that are side by side in a row and half of them are pushed to the next line because all the links cannot be fit into the same line. Now for the first link at the 2nd line the getBoundingClientRect() does not give correct results...
Hi, I'm trying to piece together all the examples I've seen for finding elements and modifying them, but I haven't come up with something that works yet. I created an example below of what I have so far, which I'm running in SQL Server 2005. I'm trying to change the ItemID 4 to 999:
DECLARE @x XML
SELECT @x = '
<ValueCollection>
<It...
Is this possible? I return the time that something was posted via PHP function from the database and adjust it based on timezone data selected in a drop down box with Javascript on the client side.
For example: The PHP would return 5:00 PM GMT as the time, and if they selected EST it would subtract 5 hours from the time automagically. ...
How do I tell the Zend_Form that I want an element (and it's ID-label, etc) to use another ID value instead of the element's name?
I have several forms in a page. Some of them have repeated names. So as Zend_Form creates elements' IDs using names I end up with multiple elements with the same ID, which makes my (X)HTML document invalid.
...
Hi
I have this complex type:
<xsd:complexType name="Identifier">
<xsd:sequence>
<xsd:element name="Id" type="xsd:string"/>
<xsd:element name="Version" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
Now I want to include this in another complex type and I've been doing that like this:
<xsd:complexType>
<...