Hi
I want to implement child parent combo box(country state like if we select any country the state combo box should be populated according to selected country) in my form with jquery.
Please give any suggestion how to implement this
Thanks
...
I'm looking for some flash based plug-in which allows me to display an image as soon as the user selects it in the file dialog.
I looked at swfupload but couldn't find any way to display the image selected.. no handle on file path or contents as far as I could find.
Anyone knows how to do this? Or some other plug-in which does this?
...
I am exporting html to pdf and using the thead and tfoot properties of a table to create page headers and footers in my pdf output. It works pretty well except that I need an image at the top left of every page. Using position:absolute as a tag on the image works in html, but unfortunately is ignored by the 3rd-party pdf exporter. This p...
Hi...
Anyone knows how to create an auto expandable shopping cart icon with css? The quantity should be inside the cart just like amazon.
the width of the cart increases based on the number of items. eg: if the cart contains only 1 product, the cart widh will be less and the 1 will be inside the cart. And if the quantity is 1000 then t...
I want to set "div" alignment to center using javascript. The reason using javascript is not working of "margin:auto" in IE.
I have coded :
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<title>
All Time Set Window
</title>
<script language="JavaScript" type="text/javascript">
$(document).ready...
how to triggered open/save window by using javascript?
...
Hello. I have 2 vector . The first vector save the gradiend of 1 color . For example: from
green to white. I want to color an image via pixel . for example we give the cordinate of an pixel (X ,Y) and dhe color RGB 40 , 60 , 120 and to color this pixel ect..
Is any function in php that can do this ??
...
Is it possible, for example, to have a div that completely ignores CSS rules, no matter what classes and ids it contains?
...
I recently applied the answer supplied for the question "How can I get a <ul> to be evenly spaced across the content area it exists in?", to my list of tabs.
This worked fine for me, but any elements after the list of tabs appeared to the right of the <ul/> element, instead of under it. I applied a clear: both; rule to the CSS for my <u...
I try to make a common solution for the following task: onclick event listener for element
<a href="#">Some text</a>
must return false. It can stop page scrolling after click.
$("a[href='#']").bind("click", function () { return false; });
It can stop scrolling but "return false" stop bubbling too! So, if I have the following cod...
I have a page on a server at a remote location that only displays if it is accessed internally.
Heres how it works, the page has a button and a list of files, when the button is clicked the script creates a csv file from various database tables and writes it to a folder on the server. The page then refreshes with the new file in the li...
And I'm talking (especially) forums here - [PHP]code here[/PHP] - style. Some forums escape double quotes or other "dangerous characters" and others don't.
What is the best method? What are you guys using?
Can it be done without the fear of code injection?
Edit: Who said anything about reinventing the wheel?
...
Ex:
<div id="h" style="background-image:url('images//line.jpg'); background-repeat: repeat-x; width:300px; height:25px; padding-left:10px; color:white;">Frame</div>
Now, I want to get the value of width from style using jQuery. What should be jQuery.
...
Hi guys,
I'm designing an HTML Newsletter and I've run into this problem:
As you can see, the cellspacing is completely out of whack: there shouldn't (and CAN'T) be a space between the rows on the left and right column. I don't really know what the culprit could be, any ideas would be appreciated!
Here's the relevant source code:
<t...
i want to set border of 1px solid lightblue color for a through javascript.. i hv written d follwng code....
function changeImage1(id){
document.getElementById(id).style.border="1px solid lightblue";
}
bt its not working.... i m using IE to test this... help me out....
...
I have an HTML page. I have created a frame using background repeat function. It is like a dialog box as below :
The HTML Code for this is :
<html>
<head>
<title>
Frame
</title>
<script type="text/javascript" src="jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="frame.js"></script>
<link rel="stylesheet" href="frame...
I have html file with php code in it. It contains code to connect to mysql database.
When i run it, it returns me an error:
Fatal error: Call to undefined function: mysql_connect()
Everything works fine if file extension is php.
Also, just to mention that using .htaccess I have rewritten file extension.
Also some functions, like ...
I have a form, with a submit button:
<% form_for(@personalentry) do |f| %>
<%= f.submit 'Create' %>
<% end %>
HTML Output
<form action="/personalentries" class="new_personalentry" id="new_personalentry" method="post">
<input id="personalentry_submit" name="commit" type="submit" value="Create" />
</form>
I want to add a seco...
Hi!
I have a button in my page, and onclick event, if should append to the <head> a CSS file from a server and do something else.
it works perfectly in FF but in IE, it seems not to work (it did append the <link> to the <head> - but the CSS won't affect the elements)
Heres my current code:
function loadDynamicCss(filename) {
var filer...
When reading width of DIV section, the result comes in %. But, I want to convert it in pixel value. How is it possible ?
I have a class "h" defined in my html. It has width="100%". It's parent div has width="69%".
width = ($(this).find('.h').width())
So actually the width is not window.width() but it is 69% of it. I want it in pixel ...