html

using JQuery and Ajax to post a form

Hi there, I want to use ajax to post my form I want radiobuttons to do this(there is no submit buton) so clicking a radiobutton will cause a form to be submitted or be post my php page needs to know the name of the radio button clicked is my code correct? cuz it doesn't work and I don't know why? <div id="Q1"> <form id="Question1...

div's height like remaining height

i have two div <div id="uno"> text </div> <div id="due"> text </div> div#uno{ width:300px; height: 100px; border: 1px solid blue; overflow:hidden; } div#due{ width:300px; height: 200px; border: 1px solid yellow; overflow:scroll; } how can i have the height of the div id="due" equal to the re...

overflow css working in Ie but not working with firefox

overflow css working in Ie but not working with firefox overflow:auto; not working with firefox? ...

How do I keep two divs that are side by side the same height?

I have two divs side by side. I'd like the height of them to be the same, and stay the same if one of them resizes. I can't figure this one out though. Ideas? Edit: Here's a mockup I did in notepad: Edit: Updated to try the link suggested below, but still no luck. Edit: To clarify my confusing question, I'd like both boxes to always b...

How to prevent the symbol "&" from being replaced by "&amp;

Hi, Hoping someone could pls let me know how to prevent the symbol "&" from being replaced by "&amp;" within my URL, specifically within javascript? Just to expand on requirement, I am getting my url from an oracle database table, which I then use within Oracle Application Express, to set the src attribute of an iframe to this url. FY...

How to change the background color of a h:inputText control inside a rich:Panel

I need to change the background color of some <h:inputText> controls inside a rich panel based on a condition. This is to distinguish these controls as readonly. I tried using styleClass and style properties but both did not work. styleClass is ignored and style colors only half of the textbox. 1) styleClass code : In css : .readonl...

What is the best way of embedding a java applet into my webpage?

I've been looking into putting a little Java application in my web page, but the more research I do, the more confused I become about how I should do it. Sun suggests many ways of doing it, but it looks suspiciously like it's from the Netscape era. So, should I use <applet>, as suggested by eclipse, <embed>, or <object>? And how should...

Why doesn't this html/css work in ie?

I am just trying to center a div on the page. It works in chrome but in i.e. the div is still on the left: <html> <head></head> <body> <div id="container" style="margin:0 auto; width:200px;"> test </div> </body> </html> Everything I've read has said that to center a block element, simply add margin:0 auto and specify a wid...

What is best way to create a weblayout which is cross browser compatible?

A design is a very important part of a web site. But making a layout cross browser compatible is very tough task. What is the easiest way for this? ...

Images in web apps

I'm working on a web application and I'm using the img tag (<img...>). When the src property is empty, it shows the red x figure indicating that there is no image. Is there any way to hide that red X icon? ...

Which technology should I use to transform my latex documents into html documents

Hey, I want to write a little program that transforms my TeX files into HTML. I want to parse the documents and turn the macros (the build-in and of course my own) into HTML pieces. Here are my requirements: predefined rules (e.g. begin{itemize} \item text \end{itemize} => <br> <p>text </p> <br/>) defining own CSS style ability to co...

Partially select text inside text field

I want my script to select just a part of the text inside a text field (<input type="text"). How can I do this? ...

Changing options in select box based on different select options

I have 2 select options. I want to change the drop down options in second select options based on what I select in first select options. How do I do that in jquery? <select id="Manage"> <option value="a">A</option> <option value="b">B</option> <option value="c">C</option> <select> Second select option if A is selected from f...

Difference between HTML and PHP

I know that HTML is viewed on the client side and PHP is on the server side. I guess I want to know why they use different things. Why doesn't the client just view a php file? ...

Get table row based on radio button using prototype/javascript

I have an html table that has a name and a radio button like so: <table id="cars"> <thead> <tr> <th>Car Name</th> <th></th> </tr> </thead> <tbody> <tr> <td class="car">Ford Focus</td> <td><input type="radio" id="selectedCar" name="selectedCar" value="8398"></td> </tr> <tr> <td cl...

web page validation question?

when using JQuery, HTML, PHP is mandatory to make your web pages validate even when JQuery, HTML and PHP can sometimes cause havoc as well as being backwards compatible, ...

web page validation question? [ROUND 2]

when using JQuery, HTML is it mandatory to make your web pages validate even when JQuery, can sometimes mess up your html for instance when using the slideDown on multiple links on the same page. ...

How do I stop Chrome from pre-populating input boxes?

Is there some way I can stop Chrome from auto populating input boxes? I have a page with a Sign Up form and a Log In form. In Chrome, if a user has already signed up and they've come to this page to log in, the password input box on the sign up form is populated with their password. I would really like to force the sign up fields to n...

Force jQuery ajax

Hi I noticed that jquery ajax request sometimes take about 1-2 seconds before the responce comes is this normal and is there any way to short that time to minimal? The responce type is json and it's small html code. Thanks! ...

HTML / Conditional Comments - Do conditional comments behave as expected across browsers?

Do conditional comments behave as expected across browsers? Can they cause rendering bugs or other issues? Are there any errors in the formatting/syntax of this CC? <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="718" height="227" id="swf"> <param name="movie" value="images/swf.swf" /> <!--[if !IE]>--> <...