Forum: JavaScript / DHTML / AJAX Jun 26th, 2009 |
| Replies: 3 Views: 1,525 No problem, if your all sorted you can mark the thread as solved. |
Forum: JavaScript / DHTML / AJAX Jun 24th, 2009 |
| Replies: 3 Views: 1,525 1. Don't use ID like you do. ID's are meant to be unique but your first section use "qa1" and "qa2" twice in both anchors and is then used in the divs as part of the second section.
2. You dont... |
Forum: JavaScript / DHTML / AJAX Jun 19th, 2009 |
| Replies: 2 Views: 590 You will need to randomly generate numbers and check that they have not already been displayed. The below does this by continuosly looping until it has found the total range of values. Each loop... |
Forum: JavaScript / DHTML / AJAX Apr 22nd, 2009 |
| Replies: 7 Views: 872 you cant directly as they are two seperate languages. you could output content to the page using a script block somthign like the following
string g = "ZOMGGGG";
bool s = g.contains("GGGG");... |
Forum: PHP Apr 20th, 2009 |
| Replies: 13 Views: 766 it does not require a full URL but give it a try anyway.
Does the page POST BACK?
This might happen cuz you have not specified '#' in the href property of the anchor tag |
Forum: PHP Apr 19th, 2009 |
| Replies: 13 Views: 766 so does it still do this with my example ? |
Forum: PHP Apr 19th, 2009 |
| Replies: 13 Views: 766 First of all if the document is (X)Html then your link tag needs to be closed.
should be
<link rel="stylesheet" type="text/css" href="stylesheet/style.css" />
Secondly the script tag REQUIRES... |
Forum: JavaScript / DHTML / AJAX Apr 18th, 2009 |
| Replies: 1 Views: 498 seems fine but a tip is dont use document.writeln.
try having a content area in the page e.g. a "<div>" then give this element and ID and set its innerHTML property to the text you want.
... |
Forum: PHP Apr 18th, 2009 |
| Replies: 13 Views: 766 you have alerted the 'obj_t.responseText' value and it definately is returning text ? Also do you have an element in the page with ID 'tdetail'. If so can you post your pages HTML as there may be a... |
Forum: PHP Apr 18th, 2009 |
| Replies: 13 Views: 766 This should be in the JavaScript forum but from looking at your code quickly it seems ok but you need to make sure the browser your using supports creating your XMLHttpRequest object like you do. The... |
Forum: PHP Mar 22nd, 2009 |
| Replies: 3 Views: 493 or use the built in method
session_destroy(); |
Forum: JavaScript / DHTML / AJAX Feb 1st, 2009 |
| Replies: 9 Views: 3,132 You forgot to set the global 'wasOkPressed' flag after someone has selected Ok in the confirm dialog, this is how it knows whether to keep on validating. good luck. |
Forum: JavaScript / DHTML / AJAX Jan 24th, 2009 |
| Replies: 9 Views: 3,132 Following code should set you on the right path.
var wasOkPressed = false;
// Create an array of your checked controls
var controlArray = [ '<%= T_selector.ClientID %>', '<%=... |
Forum: HTML and CSS Jan 21st, 2009 |
| Replies: 7 Views: 623 easiest way to do this is with javascript and all your content in page.
Example:
with a simple HTML layout like below with your seperate "pages" content in each 'div'.
<div id="content01"... |
Forum: JavaScript / DHTML / AJAX Jan 19th, 2009 |
| Replies: 9 Views: 3,132 i dont quite understand what you mean by "Basically I need to validate only once, if the user click OK then I don't want the js continue validate additional controls even if it is '&&'." so this... |
Forum: JavaScript / DHTML / AJAX Jan 18th, 2009 |
| Replies: 9 Views: 3,132 The ID you give the ASP control will change at runtime.
You need to change your hardcoded ID string to change at runtime using.
(document.getElementById('<%= T_selector.ClientID... |
Forum: ASP.NET Jan 9th, 2009 |
| Replies: 2 Views: 395 Im just curious as to when you would do this on a web page ?
What your looking to do is
Response.Redirect = "http://www.google.com/";
having not used visual web developer i am unsure how... |
Forum: ASP.NET Dec 24th, 2008 |
| Replies: 10 Views: 1,512 The days of IIS 5.1, beautiful. Im guessing here but have you looked under all tasks sub context menu ? Not having XP or IIS 5.1 anymore (Since 2006) i really cannot remember exactly where this is... |
Forum: ASP.NET Dec 22nd, 2008 |
| Replies: 10 Views: 1,512 other than majestics reason i cant think of any why you cannot gain access to administrative tools |
Forum: ASP.NET Dec 21st, 2008 |
| Replies: 10 Views: 1,512 what operating system and setup are you using ? |
Forum: ASP.NET Dec 20th, 2008 |
| Replies: 10 Views: 1,512 further to this im sorry i didnt answer your question.
If you did build this site in visual studio or an IDE then using the RUN command will run your website. I understand if you wish to set this... |
Forum: ASP.NET Dec 20th, 2008 |
| Replies: 10 Views: 1,512 i have to disagree here, why is it bad to hand code aspx pages? just wondering as there are many programmers/developers that program in the most basic of all programs "notepad" for HTML, CSS,... |
Forum: HTML and CSS Dec 13th, 2008 |
| Replies: 4 Views: 580 css works by nesting. so...
"li" is found below "ul"
"li" is found below "li"
Example
<div> |
Forum: ASP.NET Sep 22nd, 2008 |
| Replies: 2 Views: 2,230 Try
onclick="window.open('popup.aspx?textbox=txtDate','cal','width=250,height=225,left=270,top=180');return false;"
href="javascript:void(0);"
And if that fails you could always try
... |
Forum: HTML and CSS Sep 18th, 2008 |
| Replies: 7 Views: 1,443 Theres two ways to fix this. The following adds a div to push the outer box down below the floated element.
<div class="row" id="rowTxt">
<div class="left"><label for="enq">Enquiry <br /><span... |
Forum: ASP.NET Sep 18th, 2008 |
| Replies: 2 Views: 828 this will only work in IE at best.
If thats not a problem then we need to see your "B.aspx" page to see what is going wrong.
If cross browser issue is a problem try looking into the... |
Forum: HTML and CSS Sep 18th, 2008 |
| Replies: 7 Views: 1,443 it would be something like the line-height property of the left hand labels adding a sort of padding to your element. So the actual height of this element is larger than your inputs but not the... |
Forum: HTML and CSS Sep 17th, 2008 |
| Replies: 7 Views: 1,443 First of all to stop your input/textareas from bouncing everytime you focus them do this.
input,textarea {
height: 1.5em;
width: 15em;
padding: 0;
margin: 1px 1px 1px 1px;
... |
Forum: ASP.NET Jul 8th, 2008 |
| Replies: 2 Views: 1,863 Name: <%= Page.Request("nameField") %> <br />
Age: <%= Page.Request("ageField") %> <br />
Comment: <%= Page.Request("commentField") %> <br /> |
Forum: ASP.NET Jun 8th, 2008 |
| Replies: 3 Views: 915 You need to force the browser to refresh it looks like. Im afraid the easiest method is to change its name. maybe you could add a time to the end of the file i.e. "filename_20080607.jpg" etc. |
Forum: HTML and CSS May 23rd, 2008 |
| Replies: 6 Views: 2,956 <center> element is depreciated in html and not supported in xhtml but it would not cause IE to not render an image.
try changing your image names to a.jpg and b.jpg to see if it can find them... |
Forum: PHP May 23rd, 2008 |
| Replies: 9 Views: 774 echo the $query variable before it is fired to see exactly what the query is at runtime. |
Forum: JavaScript / DHTML / AJAX May 14th, 2008 |
| Replies: 8 Views: 4,896 is the function in the <head></head> area of the html document. the online example i put up works fine in both IE and firefox and the code has just been dragged from that. |
Forum: JavaScript / DHTML / AJAX May 13th, 2008 |
| Replies: 8 Views: 4,896 yes that may just work. but the increased time in doing this loop may take just as long as your original solution. |
Forum: JavaScript / DHTML / AJAX May 13th, 2008 |
| Replies: 8 Views: 4,896 i chopped up your code and used it with some big pics of my band.
here is the result resize example (http://www.designdotworks.co.uk/testing/image%20resize/resize.html)
my connection is fast... |
Forum: PHP May 13th, 2008 |
| Replies: 3 Views: 5,137 your welcome feel free to give me some rep :D and mark the post as solved |
Forum: JavaScript / DHTML / AJAX May 13th, 2008 |
| Replies: 8 Views: 4,896 why not use the "defer" attribute of the script tag?
<script type='text/javascript' defer='defer'>
you could also add an onLoad event handler to run the script once the browser has loaded all... |
Forum: PHP May 13th, 2008 |
| Replies: 3 Views: 5,137 <p class="MsoNormal">
<span style="font-size: 10.0pt; font-family: Verdana">
Florida PROMiSE partners and staff can use the following site to share and exchange information regarding to the... |
Forum: PHP May 8th, 2008 |
| Replies: 34 Views: 4,642 then you would search using the following in that circumstance.
SELECT * FROM S WHERE s1 LIKE '%what you want to search for%'
The % sign either side of the search text indicates two wildcards... |
Forum: PHP May 8th, 2008 |
| Replies: 34 Views: 4,642 SELECT * FROM tablename WHERE somefield LIKE '%searchquery%'
other than taking the time to write an iterative script you will need to write individual SQL statements for each table. |