I have a website called
www.website.org
I have a mobile website called
m.website.org
I want to use an htaccess to automatically redirect the main website URL to the mobile version..
However, there is a link on the mobile version that points back to the main website called
www.website.org?noredirect=true
When I click the logo on th...
hi
I built form here, When I input utf-8 data to it at firefox 3.6.8 it is like this:
but it works fine with IE.8
It seems that while typing (or filling) the input box, the characters are all uppercase. Just like that you are holding shift and type it.
anyone knows what is the problem with firefox?
edit :
it is a simple form
...
Hey All,
What's the best, free JavaScript library to work with time and date fields in a JSP project?
Here are my needs:
Formatting should be customizable.
For a date field, a date picker popup would be a plus.
Does not allow the user to enter invalid characters, much like the time field in Windows clock.
Does not depend on jQuery. N...
im trying to pass on the id attribute to the file.php, but its giving me 0 every time, when i try to insert it into the database, the javascript and the html is provided!
$(function() {
$(".follow").click(function(){
var element = $(this);
var I = element.attr("id");
var info = 'id=' + I;
$.ajax({
...
Hey,
Does anybody know, if i have an object like $('#input') how can I get the html that would make it up, like <input id="input" /> as a text string?
Thanks!
...
I am trying to design a simple layout for eBay. I have never done it before and have to use html tables as the basis for the layout. It works fine in Firefox, chrome and safari but apparently does not work properly in IE (8 - latest build).
You can see the layout here - http://www.rockymountainsports.ca/ebay/ebay.html
Any direction wo...
Hi,
I am wondering if it is possible to blend two or more images together on a webpage using blend modes like you will find in photoshop (overlay, screen, lighten, etc).
I know that this kind of thing is possible with flash and java, but is it possible without any plugins i.e. with CSS or JavaScript? I have seen a few javascript exampl...
I'll be answering this question
To my great surprise, I discovered that, after using JavaScript to apply a class to an element and make it contentEditable, the element suddenly gained draggable and resizable UI elements. This only occurs in Firefox.
Why does this happen and how can I fix it?
...
I have a form (Code Below) that will collect an email address and what I want is that it will then pass the collected email address to the next page to say something like "We have sent the information to [email protected]"
So page 1 will contain the form and will pass the email address to page 2
<form method="post" class="af-form-wrapper...
I've gotten a request from a client to underline text in a text field.
Both single and double lines.
Is this even possible? I assume with some obscure plugin but I haven't found it yet. :P
I've thought about there being 2 possibilities, if this is possible.
1) Underlining the text in the actual field.
2) Doing some crazy hack with tex...
How do I rewrite this HTML to validate to XHTML 1.0 Strict?
<div>
<a href="link.html">
<p>Some text</p>
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
</a>
</div>
My intent is to have the entire div serve as a clickable link. The content within simply describes th...
<label id="label1" for="txtTextBox">
what is the impact of label1 if I put the for attribute in there?
...
any particular reason?
...
I'm learning so be nice.
I'm developing a web app for a product management system. My office purchase wholesale from multiple vendors and direct.
My web app needs to accommodated basic "new vendor" creation within a product insert/update form.
Is there a simple way to have an option in my combo box "New Vendor" that opens an input bo...
What's the best way to align images ina list. I am trying something like and I expect them to see aligned vertifically below each other but the text kinda wraps aorund the image.
text
image
text
...
i have a strange problem with sending HTML mail in c#.
Basically i am trying to email myself the weather every morning and I begin by downloading the weather in HTML markup from an ftp site.
After obtaining the source file i then read it into a string and create a mailMessage using the following code.
string body = File.ReadAllText(@"...
Usually, I can CSS myself out of any corner, but this Friday afternoon issue is getting to me!
Here is the problem. Mouse over the menu items (birthday, wedding, ...) and observe the dropdown.
Originally, I had these list items floating left fine. I've mucked around a lot with the CSS on the rest of the site, and since I checked them ...
Suppose I have the following HTML element:
<span id='kuku' class='lala bubu' value='xyz'>some text</span>
I know that .html() returns the inner part of the element, i.e. some text.
How could I get the whole element as string, containing <span>...</span>?
...
I want to setup a website (intranet in this particular case) that shows realtime updating data. I have the server and the realtime data, it's the software I know less about. I am no stranger to programming, but I am less familiar with web technologies.
Which alternatives do I have? I would prefer open source, and preferably something ni...
Say, I have the following unordered list. The button has width: auto. How do I style the elements, so #textField would stretch as much as possible, so the width of #textField and the button would add up to 100%?
<ul>
<li>
<input id="textField" type="text" /><input type="button" />
</li>
</ul>
...