Hello, I have a php file that contains a HTML form, then PHP logic, then an HTML footer...in that order.
I am trying to get the values from the form into some php validation logic in the botton of the page (but before the footer) using <?php VALIDATION LOGIC HERE ?>.
the problem is when the validation finds an error, the php logic will...
I have a little web project where I have many pages and an index/ToC file. The toc file is at the root of my project in toc.html. The pages are spread over a couple of subdirectories and include the toc with an iframe.
The project doesn't need a web server, so I can create the HTML in a directory and browse it in my browser. The problem...
I am developing a website and sometimes the browsers keeps loading, and I would like to know exactly what's making it load for so long. It gets stuck kindof.
So I wonder if there is any application or way to check what is getting loaded onto the page, so I can see what element or object it gets stuck on?
The website uses php/javascript...
Is to possible to submit two forms simultaneously with either javascript or a submit button?
Form structure is ok something like this:
<form name="form1" method="post">
.........
</form>
<form name="form2" method="post">
.........
</form>
And get the data from the two in a array?
...
hello
i have SWF file. i want to send the user to another page when he clicks the SWF file
1- i tried to wrap the SWF file with tag but it did not works
2- i tried to add javascript events like "onclick" but it didnot works too
so i think the best solution is to make another SWF file that takes two parameters "hyperlink" and "SWF URL" ...
I have a search application in html with javascript.In that i used select & option(select box).I want to retrieve the values from access database to selectbox.How can i do this with array?i also want to get the count of the option.The below not working correctly.How can i do this.any one knows please help me.Thank you.
var myselect=(sel...
Merry Christmas and Seasons Greetings all!
Quick question, looking for some recommendations. I have a site that will be requesting data from a database and displaying back to the user in a table. I am using jQuery (AJAX), php, and MySQL.
Where is the best place to generate the HTML for the table to display the data: should the php gen...
<input id="Edit" name="Edit" value="Edit Record" type="button" onclick="$.get('fetchvalues.php', function(){myCallBack(ReadCookie('UpdateRecordID'));});" />
The ReadCookie function is of another JQuery script.
I want to pass the cookie value to the .php file.
...
I happened to write this:
<input type="hdnStatus" name="hidden" value="1" />
Instead of:
<input type="hidden" name="hdnStatus" value="1" />
I was surprised that the first line generated a text box with no correct type
specified.
If first line generates text box, then is the below line of any use:
<input type="text" name="tbox" va...
At present I am using a datagrid library, but I am experiencing some problems on browsers other than IE. This library can be found here.
This library works very well and is very easy to use except some compatibility issues. Is there any other easy to use grid library for PHP?
...
This subject turned into a heated discussion at the office, so I'm interested to learn what you think.
We are working on a web app that only targets some specific browsers. These browsers presently include different flavors Opera 9 and Mozilla 1.7.12. In the future we likely also have to support Opera 10 and different flavors of WebKit....
It works fine in FF, Opera and Chrome. But of cours it's not working ok in IE7.
I have list items which is 73px high, with a red border (a total of 75 px in height).
But I get an unwanted space between each list item. I've tride setting padding and margin to 0 for both <ul> and <li>, but to no wain.
Here you see the result.
And here...
I am working on an application than needs to create pages looking like this:
http://iui-js.appspot.com/samples/music/music.html#_usage
The problem I have is that, just like in the page linked above, the values are not selectable neither with iSafari nor with the desktop version of Safari.
I need to be able to select and copy the val...
I would like to limit a textbox to 10 characters in MVC.
<label ID="lbl2" runat="server" Width="20px"></label>
<%=Html.TextBox("polNum") %>
<label ID="lbl1" runat="server" Width="10px"></label>
I know you can set the Max Length property in .net. How do I do that in MVC with a textbox generated this way?
...
i have this string
<div>
<p><strong>Elem_A</strong>String_A2_2 <String_A2_2> asdas</p>
<p><strong>Elem_B</strong>String_B2_2 String_B2_2</p>
</div>
and i want to covert it to
<div>
<p><strong>Elem_A</strong>String_A2_2 <String_A2_2/> asdas</p>
<p><strong>Elem_B</strong>String_B2_2 String_B2_2</p>
</div>
basically i want t...
I'm running into a problem with the footer navigation on a site which has a drop-"up" menu that is cut off by another div. I've set overflow: visible for all applicable divs in the footer & set z-indexes for correct content stacking, but to no avail.
I've started to run out of potential solutions. Can anyone help me resolve this? I...
i tried using this:
var rowCount = $('#locationsTable tbody tr').length - 1;
but the one issue is that you can't tell if there is 1 record in the table or 0 records because, when there are 0 records, jquery datatable plugin shows one extra tr row that says "No records matched"
is there a better way to get actual valid row/record cou...
I have a problem with select listboxes under Firefox 3.5.6.
When both the "size" attribute and "style:height" attribute are specified, the select control does not seem to process Page Up and Page Down key presses properly. They act strangely: first of all they scroll through the options one at a time, just like an arrow up or down key ...
Is it possible to selectively disable the autofill feature in text fields using code?
I'm developing my custom code in ASP.Net AJAX to search for the suggestion in the database and I would like to prevent the browser suggestions from appearing when the user starts typing in the textbox.
I'm looking for a solution that works in the most...
Hi
I'm creating an interface with JQuery tools, using the overlay functions.
So, I have a list of a tags that shows images in overlay
<a id="11" href="data/images/011.jpg">
<a id="12" href="data/images/012.jpg">
<a id="13" href="data/images/013.jpg">
<a id="14" href="data/images/014.jpg">
then I have an input box (without form tag) ...