I have got two forms in a page. The second form has got a file upload input component along with other controls. My requirement is to submit the second form with the file and refresh only that form without refreshing the other form. If it was only normal components, I could have done this easily in Ajax. But when the form is having a fil...
Hi Everyone,
I've been trying to figure this out all morning and I just can't get anywhere with it.
I'm working on this website for a client and the dropdown menu just will not position properly in IE7. I have it working in everything else (even IE6!) but IE7 just will not play ball.
If there is anyone that could help that would be awe...
I have this daily image rotation script, which works great. I need the images to be clickable though. Any help is appreciated.
<!-- Begin
today = new Date();
day = today.getDay();
arday = new Array
("http://www.magnatexpumps.com/imagesnew/featured/featuredProduct_3575.jpg",
"http://www.magnatexpumps.com/imagesnew/featured/featuredPro...
Hi everyone,
I have general question how to start developing my skills in web designing.
What is best place to start and what technique to use.
I have some kwnolege of html and csrs, so far I have been building sites with already done all html and css. I would just use it and maybe do a smaller changes.
I want to be able to make html a...
I have a large report currently rendered as a regular HTML table. I'd like to be able to group columns together and expand/collapse them with a button.
This is a very common practice for rows but not so much for columns. I was wondering if anyone has any tips for doing it with columns.
My stack includes jquery so that's available to y...
I have an HTML page that I generate from the data contained in a database. The database sometimes contains long strings that the browser can't break because the strings don't contain breakable characters (space, point, comma, etc...).
Is there any way to fix this using html, css or even javascript?
See this link for an example of the p...
Hi,
I have a need to write a Servlet filter to inspect the HTML being sent out and modify all the links that point to /images in it to a different domain altogether so that they are served from a CDN(content delivery network) rather than my site.
Is this recommended and how can I achieve this?
-thanks
...
Me again,
I have a question I would like to ask as a followup.
to submit a form using a link powered by jquery is what I am curious about. do I just bind a click event to the link in the live() event for eg and use a submit() added to the click?
God bless
...
Using C# I would like to know how to get the Textbox value (i.e: john) from this sample html script :
<TD class=texte width="50%">
<DIV align=right>Name :<B> </B></DIV></TD>
<TD width="50%"><INPUT class=box value=John maxLength=16 size=16 name=user_name> </TD>
<TR vAlign=center>
...
In my application i need to export some data into CSV or html format. How can i do this.
Any help will be greatly appreciated.
...
I inject html to div on the page (contains float div)
var text = "some text<div style='float:rigth'><a href='#'>foo</a></div>"
$("#taget").html(text);
After that users of Google Chrome and Safari cannot click at link "foo"
...
What is difference between
document.getElementById(“selAge”)
document.myForms.selAge
When to use which?
...
Possible Duplicate:
How to extract img src, title and alt from html using php?
Hi,
I have found solution to get first image from string:
preg_match('~<img[^>]*src\s?=\s?[\'"]([^\'"]*)~i',$string, $matches);
But I can't manage to get all images from string.
One more thing... If image contains alternative text (alt attribute) h...
Hi,
I'm developing a site where I need to send HTML newsletters to a mailing-list.
I have build a html frame where I have my "View in browser" and "Unsubscrib" links (which of cause will vary). In the admin module, I post html and uploads images for the html-newsletter. Is this a good way to do it?
How should I send the e-mails the XX...
I have a <div> with two floated elements inside of it. I'm using jQuery to attach a click event handler to this <div>. The handler only gets called when I click one of the two floated elements. The empty space inside of the <div> does not work.
Here's what the markup looks like:
<div class="wrapper">
<h4>Some lovely header text here<...
Hello folks,
I would appreciate if there is someone who can help me solve this problem, I've been trying to resolve it for few days, but with no success.
I made custom button that inserts image into code, and here is textual version:
<a href="javascript:;" onmousedown="tinyMCE.execCommand('mceInsertContent',false,'<br><img alt=$img_titl...
I have this php code:
<?php
if(!file_exists('counter.txt')){
file_put_contents('counter.txt', '0');
}
if($_GET['click'] == 'yes'){
file_put_contents('counter.txt', ((int) file_get_contents('counter.txt')) + 1);
header('Location: ' . $_SERVER['SCRIPT_NAME']);
die;
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http:...
When using a WYSIWYG editor in Joomla 1.5 to create website content I am not able to freely insert HTML tags, such as IFRAME as the HTML tags will be automatically removed on saving the article. I can either configure Joomla not to use a WYSIWYG editor which makes editing articles a bit of a pain, or I can force the HTML code into the ar...
I'm now doing it this way:
<a title="<?php echo $title; ?>">...
But it will brreak when " is included in $title.
...
Hi everyone,
I have a question regarding title tags. I have been using them on every link on my site in the hope that it will be good for SEO. Because I have so many title tags in use it looks very crazy to actually visit. No matter where you point there's another title popup. Is there any way to prevent these hovers (the ones that show...