Hi, I'm new to php and I have the following form in my html file:
<form id="loginForm" action="login.php" method="post">
<label for="username">Username:</label>
<div>
<input type="text" name="username" maxlength="255"/>
</div>
<label for="password">Password:</label>
<div>
<input type="password" name="...
Possible Duplicate:
How can I run a program or batch file on the client side?
I am new to JavaScript. I am trying to execute an EXE file from JavaScript on the web browers. How can it be done with simple code?
...
I need to allow other people to embed some of my HTML and Javascript code. The HTML code itself is too much to be copy&pasted.
Should I use Iframes or script-tags for embeding it?
The script tags and iframes are used for example by Stackoverflow on Flair page
How does those even exactly work? Aren't those a security risk?
What method...
I don't know and can't possibly know the width of the absolute div I need centered. It must to be absolutely positioned because it is overlapping other elements (z-index trickery). This is my basic structure
<div style='position:relative'><div></div><div style='position:absolute'>...</div></div>
The first child div is not absolutely ...
Hi,
I have two jsp(one is main page, another one is new window) and single javascript file.
MainPage and New Window have 'Test' , 'ClickedCount' buttons.
First, I click 3 times in MainPage 'Test' button . Then i open New Window.
Now , i click 2 times in newWindow 'Test' button.
So totally i clicked 5 times.
each time i click, i co...
Sir, i am facing problem in showing tiff images. following is my html code. plz help.
Thanks
< img src="tiffdocument.tif" />
...
I'm working on this page here:
http://noasimon.co.il/
It looks fine in firefox, chrome, opera and IE8
But when I turn on the "compatibility view" in IE8, the menu images go below the text.
Another problem which happens only in this view is in this page:
http://noasimon.co.il/exhibition2010
The thumbnails go too far left outside the v...
I have dropdown lists in two forms in a single .jsp. I would like the change of any of the lists to trigger a post back to the .jsp itself with the currently selected parameters in both forms. But I couldn't get it work. Here is the relevant part of the code:
Both forms are in the SearchBrowse.jsp. This is form1 (form2 will have an iden...
This is how I have implemented the
<select name="doctype" id="doctype" class="textarea" onchange="fillLabel()">
<%
DocumentManager documentManager = new DocumentManager();
List keyTypes = documentManager.getAllKeyTypes();
Iterator ite = keyTypes.iterator();
while(ite.hasNext()){
Obje...
I have a silverlight application. This contains a "preview" button.
Button code is as follows:
private void btn_Preview(object sender, RoutedEventArgs e)
{
HtmlPage.Window.Navigate(new Uri("http://www.google.com"),"_blank");
}
When I clicking the button in firefox, a new page is created in a new tab. When I click agai...
Hi,
I'm tidying up another developer's work who seems to have done a shoddy job with the CSS.
There is the main "wrapper" div on the page, and inside this is a logo and images for the navigation. The images are using "position: absolute" and using the CSS "top" property to offset them. However, Firefox and IE seem to start their offset...
$selected = ' selected="selected"'
# or
$selected = qq( selected="selected")
is returned as:
selected="selected"
which is an invalid HTML attribute, ofcourse.
How do I fix it?
Edited to add:
<select name="alignment" class="select"
<%== param('feature') ? '' : 'disabled'; %>
>
% foreach (keys %al) {
% my $selected...
As an example, imagine I have a table. The standard alignment behaviour (not sure if this is html specification or just the browsers I use?) seems to be to left align the body elements and center align the head elements.
So if I wanted everything left aligned, is it less efficient to write
#MyTable td {
text-align: left;
}
than t...
I had a food takeaway website, where the users can search the restaurants by giving their area name.
I want my website's LONDON search page to be listed when user search in google 'TAKEAWAYS IN LONDON'.
I think google dont crawl websites with query string.
HOW CAN WE ACHIEVE THAT? Plz help Any help will be highly appreciated
...
I wonder if the javascript API to access the voice recognition is accessible in Android 2.2 ? or if it is going to be for a future release ?
...
Can anyone tell me how to create the below structure using div
...
Hi,
I'd like to create a very simple form which has one field where you can enter a 5 digit number - e.g. 12345. When you submit the form, I'd like the page to redirect to http://www.website.com/12345
I'm sure it must be fairly simple, but I've not been able to find the answer anywhere!
Very grateful for any help.
Thanks,
Andrew
...
I'm not really sure how to describe what I want to do, but I'm sure I've seen it on many sites before.
Basically, when someone clicks a link, it should show an element which contains some text and dims down the rest of the site so that the users focus is directed towards the element. It shouldn't let users click in the dimmed area eithe...
Hey guys,
#menu {
position:fixed;
width:800px;
background: rgb(255, 255, 255); /* The Fallback */
background: rgba(255, 255, 255, 0.8);
margin-top:30px;
}
i know this question is a million times out there, however I can't find a solution to my case.
i got a div, which should be fixed on the screen...
Do you have any idea?
...