html

XSL Template outputting massive chunk of text, rather than HTML. But only on one section

I'm having a slightly odd situation with an XSL template. Most of it outputs fine, but a certain for-each loop is causing me problems. Here's the XML: <area> <feature type="Hall"> <Heading><![CDATA[Hall]]></Heading> <Para><![CDATA[Communal gardens, pathway leading to PVCu double glazed communal front door to]]></Para> </featu...

Onchange event of Dropdownlist.

I have a dropdown list. I am using onchange event of this dropdown to show some text in a textbox below. Its perfectly fine. But i want to to do something like this:--- If user click on the drop down then the whole list will be populated. right.. Now if he is trying to choose the value from the list using up/down arrow button of the key...

Access to Label value with Javascript

I need to access to a value in a checkbox, the atribute value has content, so i need to place the id somewhere else i created a label, but i have not access to that value alert(check[i].label); // doesnt work where else can i place a value in checkbox. Please dont write that i can do this <input type='checkbox' id='bla' name='myb...

jQuery - Could use a little help with a content loader

Hi, I'm not very elite when it comes to JavaScript, especially the syntax. So I'm trying to learn. And in this process I'm trying to implement a content loader that basically removes all content from a div and inserts content from another div from a different document. I've tried to do this on this site: www.matkalenderen.no - Check th...

Pager HTML viewer

Hello! We are currently developing a Windows Forms application in VS 2008 C#. This application is for reading long (200 - 300 pages) law documents, and it handles about 30 - 40 docs. The application searches in document text, switches between documents, etc. Our customer has sent the docs in separate *.rtf files for us to "put it into ...

Input field name starts with a number

I have an input field whose name is an MD5 string e.g.: <input type="hidden" name="7815696ecbf1c96e6894b779456d330e" value="1"> Now I understand that having a number as the first letter in an input field name is generally bad practice, but are there any side-effects to this such as a certain browser won't send it in the POST request? ...

document.getElementById not working for <a> tag

hi, I'm very new to js so kindly help me with this. I am trying to add a class to a tag using onClick. The code is as shown below: <a class="gkvSprite" href="#" id="abc" onClick="showhide('1')">Click 1</a> <a class="gkvSprite" href="#" id="def" onClick="showhide('2')">Click 2</a> <a class="gkvSprite" href="#" id="hij" onClick="showh...

How to resize a flash animation to fit HTML container?

Hi there, I have a flash animation with the size of 1280x1024 and I want to embed it into an HTML file. I want the flash file to be displayed in 800x600. This is my code: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <body align="center"> <object> <param name="movie" value="/flash/connect.swf" /> <embed ...

How to disable scrolling the document body?

I have a HTML which has lot of content and a vertical scrollbar appears as soon as the HTML is loaded. Now from this HTML a full screen IFRAME is loaded. The problem is when the IFRAME is loaded, the parent scrollbar still persists, I want to disable the scrollbar when the Iframe is loaded. I tried: document.body.scroll = "no", it did...

best method of making a tweet-this button?

It looks like there's lots of different sites/methods for doing this, is there an official twitter share button? like for facebook there's http://developers.facebook.com/tools.php?connect_wizard&amp;wizard=stream_publish , which looks excellent ...

Text formatting within textarea

Variations on my problem have been discussed elsewhere, so I hope I'm not duplicating! I'm implementing a simple Private Messaging System as part of a web app. I've got an annoying problem though when dynamically inserting text into a textarea box in order to make a reply. Getting the content and displaying it is fine, but I can't work o...

How can I make an upload widget in JavaScript with upload progress that will post a file to an IIS server?

I need to make a upload widget in JavaScript with upload progress that will post file to a IIS server, any suggestions guidelines or documentation? ...

jQuery: how to check if form elements are not empty?

Hello i have a form, how to check if all the elements inside a form "textbox, checkbox, textarea, select, file" are not empty ?? THanks ...

How to groups table rows in html to manipulate them with jquery

I have an html table with many rows. I'm currently grouping several rows inside a div (I know this is ugly) and then show or hide the divs to show or hide the rows inside it. Is there a standard way to do this. Something like rowgroup or multiple tbody instead of this ugly div grouping? ...

What is the best way to semanticly structure a FAQ ?

I am wondering how I should structure a FAQ to keep semantic meaning of the content. I think of using defintion list, as the close relation between a question and an anwser may have together. What are your thoughts about this ? ...

Get value of last option of a drop down?

I have dropdown menu..which is dynamic.. How can get value of the last item in that drop down (using jquery is also acceptable) ...

where should we place HIDDEN variable in JSP

I need to use hidden variables in my JSP for session tracking. This is the code: <input type="hidden" name="REQ_TOKEN" value="<%=session.getAttribute("SESN_TOKEN").toString()%>" /> I am using this to compare the request token with session token, so only when both are equal I will evaluate that request otherwise I will throw an error. ...

link rel not working without http:// protocol

Hi, i'm trying to implement various semantic links on the website I'm working on. For that, i try to put <link rel="start" href="index.html" /> In my head section. Although the data is present in the web page, Opera does not seems to see it to show the navigation bar that should however be present. Here is my full head section. <...

Is there an HTML CSS testing bin similar to jsbin

Is there a page similar to JSbin where I can test HTML and CSS + provide "fiddlable" examples to you? ...

Div behind another div problem.

Here is a (big) example of the massive problem I am having, when this page is live at euroworker.no/order, it is dynamically generated, I have supplied a static version for people to mess with. All I need is where it says "Endre Valg" to push the div wrapper under it down.. Sounds easy huh? I have tried many many things, I hope that som...