html

SESSION with a form file

Hi , Say if I upload a file on page 1 and submit the form How can I make a session with the file which has been uploaded for example how would I get the session to store the file ? ...

Chrome and Safari Hack

Hello, I have the following style: table.jqTransformTextarea td#jqTransformTextarea-mm textarea{ margin:0; } This works as expected in Firefox, Opera, Internet Explorer 7,8 and 6. However, to make it work in Chrome and Safari I need to do: table.jqTransformTextarea td#jqTransformTextarea-mm textarea{ margin:10px 0 0 10px; }...

IE6 bumps down content when the parent container is too narrow

In the following example, the right side container appears to the right of the left side one in standards compliant browsers, but in IE6 the blue right side container appears below the left side one. IE6 effectively bumps it down because the parent container is narrower than the total width of the left and right side containers. I hav...

JavaScript: convert to currency format

Is there a built in function of JavaScript to convert a string into a current format? For example var a = '1234'; a.convertToCurrency(); // return $1,234 UPDATE Please note that I want the function to return the currency to include the US comma to group digits. ...

Scraping hidden HTML (when visible = false) using Hpricot (Ruby on Rails)

Hi, I've come across an issue which unfortunately I can't seem to surpass, I'm also just a newborn to Ruby on rails unfortunately hence the number of questions I am attempting to scrape a webpage such as the following: http://www.yellowpages.com.mt/Malta/Grocers-Mini-Markets-Retail-In-Malta-Gozo.aspx I would like to scrape The Addres...

How to create an email mailing list

Im creating a coming soon page for a website im developing, and im adding an option for the user to enter their email address so we can email them when the site is up. How do I do this? ...

how can make my popupwindow always log in??

i create a popupwindow but link with mysql. When i click on it, it always show the page ask for log in first. But i already set it to the related page. How can solve this problem? This my code. <a HREF="http://192.168.1.3/ofcomcrm/index.php/products/add" onClick="return popup(this, 'notes')">Add Products</a></p> ...

Horizontal scrollbar past the min-width point

HTML: <div id="mcolWrapper"> <div id="mcol"> <div class="wrapper"> content </div> </div> </div> <div id="lcol"> <div class="wrapper"> content </div> </div> <div id="rcol"> <div class="wrapper"> content </div> </div> CSS: #mcolWrapper { float: left; width: 100%; } #mcol { ma...

xmlhttp.responseText and xmlhttp.readyState works fine with localhost but if i use IP address it is not returning values same as localhost

Hi All, xmlhttp.responseText and xmlhttp.readyState works fine with localhost but if i use IP address it is not returning values same as localhost. function getFilenames() { xmlhttp=GetXmlHttpObject(); if (xmlhttp==null) { alert ("Browser does not support HTTP Request"); return; } var url="GetF...

HTML Table: Set width for second column onwards using CSS

Can I set the column width for all but first column using CSS? ...

[CSS] adding an ID Number to a CSS Tag

I am inspecting the html at this site: listverse.com I see that they have inserted ID numbers in the List Tags such as <li id="comment-220669"> What is the comment-220669 for. And what are they using it for? If they are using this ID tag to pass information back to the server. How can i do this using c# asp.net mvc? ...

In php: dropdownlist values depend on another drop down list in the same form

Hi, How can I realize this solution? dropdownlist values depend on another dropdownlist in the same form e.g. :a form contains dropdownlist(car_name),dropdownlist (models of this car),button(search) notice that : 1)car_model values depend on car_name value 2)car_name dropdownlist and car_model dropdownlist in the same form thanks Best R...

Multipart email message

How to use html tags in a multipart email message. When I use <b> its not recognized as the bold tag. ...

unable to get selected value from list box in IE 8

Hi All, unable to get selected value from list box in IE 8 var myvalue= document.getElementById("fileName").value; alert(myvalue); ...

Web content presentation

Any one have an ideas how to present a website content very impressive? Is there any reference that guides me? Eg: I am designing online marketing website. I need to design step by step approach for the clients who visits our site. The contents taking too long to view, I have to simplify, but everything is important? I need some basic ...

regular expressions in c#

Hi, I need to carry out a task that is to get some html out from a webpage. Within the webpage there are comments and i need to get the html out from within the comments. I hope the example below can help. I need it to be done in c#. <!--get html from here--> <div><p>some text in a tag</p></div> <!--get html from here--> I want it...

calling a variable inside html

I am trying to make a script that when you type in a hex value and press submit itchanges the text color to the color inputted. It seems the problem is the way i am calling the variable "userInput" inside the variable new html Any Ideas? <script type="text/javascript"> function changeText3(){ var userInput = document.getElementB...

Is there a way to get a web page header/footer printed on every page?

Hello all: Based on my research, it seems that what I want to do is not possible, but in case something has changed, I wanted to check to see if anyone had come up with a way to do this. I have a web app that generates reports for print based on user selections in the browser window. I have a custom header and footer that, when the rep...

how to link c++ program with HTML page???

i am working on php...!! Is it possible to link HTML page to c++/c at back end. means instead of php script i want to run c/c++ if Yes How?? ...

jQuery Select all Disabled texboxes

I'd like to select ALL of the disabled textboxes and add a Class to them, how do I do this in jQuery ...