I need to clear all other checkboxes when a user clicks a checkbox. Pretty much the same behavior as a radio button. User clicks checkbox 'A' and checkboxes 'B' and 'C' are both unchecked. I am using jquery but I can't figure out how to accomplish this. Any ideas?
Here are how the checkboxes are set u:
<div class="sales_block_one">...
Hi,
Is there anything I need to be aware of when creating a HTML e-mail? Is it as simple as creating a valid HTML page then sending it via PHP? Or do I need to use tables to ensure it display's correctly.
Any advice to get this right first time would be much appreciated.
...
I have to make a combo box in an html form & receive its selected value in a php script.
I have a piece of code from the Internet. It has text box & dropdown list side by side. After the user enters a value in text box, the value goes into a list that the user has to select again.
I need to have the text box on top and the list below ...
Something i'd never noticed before, but it seems that in Chrome/Firefox (and probably Opera/Safari, i've not checked those specifically) using a strict doctype prevents table rows from being displayed smaller than a value that i'm unable to determine the calculation of.
The following document displays as one might imagine in IE7 with al...
Hi folks
Been using this site for ages and have never had to go as far as to ask my own question... cheers in advance.
I have a group of "questions" which are to be listed. The user then has to rank these questions as 1st, 2nd, and 3rd (there can be many more than three questions however).
The problem I have is that, if I make the ra...
Hi,
i am receiving xml structured data which is not nested and I need to create UL menu out of it. Data is receiver using .ajax jquery .. please for any idea. Even if I fix output of XML i don't know how to achive this.
Structure of XML (sample values) :
<data id="1">
<skItem>Food</skItem>
<psItem>Item1 </psItem>
<vssItem>val...
I'm using Microsofts Expression Web 5 to edit my HTML documents. I have noticed a strange behaviour when using the 'Reformat HTML' method.
If my html document (UTF-8) contains html entities in the like of the entity is replaced by a euro character. The html entities with a special meaning like '<' and '>' will not be replaced. So '<' (...
I see the websites displaying other websites in their website using iframe.
Example:
http://www.bigresource.com/Tracker/Track-vb-c9WiXD1ijR/
this site displays codeguru.com content.
Is this legally allowed? Should they need permission from codeguru.com explicitly to display their content?
...
Hi,
when you click on a link that goes to same page where the link is, how to keep the view of the page?
By default it goes to the top of the same page.
Regards
Javier
...
I'm using the following css to define my background:
body
{
background-image: url('background.png');
font-size: 12pt;
font-family: Veranda, Arial, Helvetica, sans-serif;
}
The image background.png is stored in the root directory, but whenever I refresh the webpage, the background remains white. MY instructor currently has ...
I have used a ckeditor in which user can submit data to the database in styles but when the data is populated in the datagrid then also it comes with same styles in IE
but I want it to be in plain text when get populated.
the function for populating the data is as follows:
protected void LoadQA(int intQuestionId)
{
string strSelect...
Hello.... I have a requirement where in i wish to display a dropdown box when i click in a textbox.... Scenario is.... When i click in the textbox, there should be a list of checkboxes corresponidng to some values.... Whichever checkbox i click on, the correspoding value should get appeneded in the textbox... I tried to google this... B...
I would like to toggle (hide/show) several elements of my web page.
All those elements are in between this tag:
<div class="class_name">to toggle</div>
<div class="class_name">to toggle2</div>
I would like to use javascript to toggle all the elements with class=class_name when the user clicks on a button.
So far all the code I ...
Hi everybody!
I've got two different forms on my website: one for submitting a general inquiry and another one to order stuff. By clicking a radio button the user can choose the form he/she needs.
I created the form in a content management system which checks if the textfield-data is entered correctly after submitting the form. If the ...
my requirment is to file upload field in html form should not allow the text manuvaly from the keyboard and when ever we click the browse button it should prompt the file open window
...
I am having problem with <input type="file"/> in IE 7,
it is allowing me to type into it. This problem is not present in FF 3.6 and IE 8.0
Is this known problem?
And every body handles it with writing java script event to eat-out the key presses as suggested here?
...
I've looked all over the net for probably a common and simple task and have found nothing but deadends. I'm trying to grab a response from my own html page that uses POST to submit data to a website so I can parse it and show/print the parsed text on the same html page.
Here's what my html page looks like:
<html><head>
<meta http-eq...
I have this jquery code to add the onclick event to minimize and maximize images collapsing and expanding the div with class mainBody.
It was working before I added the div with class divSectionInfo which is now meant to expand when you click on the icon16 image and collapse divSectionInfo when close image is clicked.
I am having probl...
I've just start playing about with jQuery and want to place the results of a ajax call into a table ... I've written the following function (for test not actual)
function AjaxSucceeded(result) {
$("#pageLabel").html('');
$("#pageLabel").append($("<table>").attr("id", "outputTable").append($('<tbody>')));
...
Here's my JavaScript code:
function BuildObject(container, index, imgFile, left, top, width, height)
{
var newImg = document.createElement('img');
newImg.setAttribute("id","d" + index);
newImg.setAttribute("src", imgFile);
newImg.setAttribute("style", "position:absolute; left:" + left + "px; top:" + top + "px");
newImg.setAttr...