Forum: JavaScript / DHTML / AJAX Jun 26th, 2009 |
| Replies: 3 Views: 1,345 No problem, if your all sorted you can mark the thread as solved. |
Forum: VB.NET Jun 25th, 2009 |
| Replies: 1 Views: 398 Hello All,
I haven't posted a question in sometime, im hoping this is where all my previous help pays off :P
Basically starting a newish project which must be written in VB.Net (great) but I am... |
Forum: HTML and CSS Jun 25th, 2009 |
| Replies: 7 Views: 408 Yes I believe you could, sadly I have never worked with it so I cant offer any help |
Forum: JavaScript / DHTML / AJAX Jun 24th, 2009 |
| Replies: 3 Views: 1,345 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: HTML and CSS Jun 24th, 2009 |
| Replies: 7 Views: 408 you would need some form of server side language to dynamically create a folder/file listing in html using php, asp.net or other. |
Forum: JavaScript / DHTML / AJAX Jun 19th, 2009 |
| Replies: 2 Views: 572 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: ASP.NET Jun 1st, 2009 |
| Replies: 5 Views: 612 Are you saying that javascript is useful serverside? Or is it intended to be sarcastic, i hope so!
I agree with sedgey about the hosting but any dynamically data driven site; daniweb, msdn,... |
Forum: PHP Jun 1st, 2009 |
| Replies: 15 Views: 790 it is very hard for a developer on any platform to break through on any freelance website, most projects get underbid and legit projects usually require the developer to have several samples to show... |
Forum: JavaScript / DHTML / AJAX Apr 22nd, 2009 |
| Replies: 7 Views: 859 i think you mis interpreted my response then to check if a string contains a string in javascript you want the following.
function stringContains(string, value) {
// To make this case... |
Forum: JavaScript / DHTML / AJAX Apr 22nd, 2009 |
| Replies: 7 Views: 859 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: 710 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: 710 so does it still do this with my example ? |
Forum: PHP Apr 19th, 2009 |
| Replies: 13 Views: 710 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: 2 Views: 1,499 you would do the following. Hope it helps.
<html>
<head>
</head>
<body>
<table id="countit">
<tr>
<td class="count-me">12</td>
... |
Forum: JavaScript / DHTML / AJAX Apr 18th, 2009 |
| Replies: 1 Views: 470 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: 710 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: 710 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: JavaScript / DHTML / AJAX Apr 4th, 2009 |
| Replies: 5 Views: 1,061 why use javascript for this ? CSS is perfectly capable of doing this without the scripting overhead.
/* Example changing a td elements background colour */
td {
background-color:transparent;... |
Forum: JavaScript / DHTML / AJAX Apr 4th, 2009 |
| Replies: 2 Views: 1,326 just add a function to the onload method of the document this will fire when the page has finished loading all external content. You can use this then to hide your gif after the page is done.
... |
Forum: PHP Apr 4th, 2009 |
| Replies: 15 Views: 590 you wouldnt want to put a value through all them methods in fact doing so would counteract some of the methods used e.g.
$value = "abc '123'";
$value = addslashes($value);
$value =... |
Forum: JavaScript / DHTML / AJAX Mar 25th, 2009 |
| Replies: 3 Views: 1,046 why not just use an ID
document.getElementById('myDiv').style.background = 'url(' + url + ')';
if your deperate to use classes and write your own code you will have to perform something like so... |
Forum: JavaScript / DHTML / AJAX Mar 22nd, 2009 |
| Replies: 3 Views: 1,046 use a javascript library with CSS selectors such as jQuery. You can then perform a css selector query to get the node your after. Example
$('.dc').filter('.m1_pad').css('background-image', 'url('... |
Forum: ASP.NET Mar 22nd, 2009 |
| Replies: 2 Views: 848 im guessing you mean the built in treeview control? in short no although you could have a fiddle with the CSS that is generated in the background. I would warn against using it though as having tried... |
Forum: PHP Mar 22nd, 2009 |
| Replies: 3 Views: 472 or use the built in method
session_destroy(); |
Forum: JavaScript / DHTML / AJAX Feb 1st, 2009 |
| Replies: 9 Views: 2,933 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: 2,933 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: JavaScript / DHTML / AJAX Jan 21st, 2009 |
| Replies: 3 Views: 1,196 no you cant. Microsoft have made it that way.
At least not through javascript.
If your using a server side language you could change the page headers returned to the client which would force a... |
Forum: HTML and CSS Jan 21st, 2009 |
| Replies: 7 Views: 614 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: ASP.NET Jan 19th, 2009 |
| Replies: 7 Views: 1,599 |
Forum: JavaScript / DHTML / AJAX Jan 19th, 2009 |
| Replies: 9 Views: 2,933 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: ASP.NET Jan 18th, 2009 |
| Replies: 7 Views: 1,599 This is the ASP.net forum?
And the best way to achieve this is definately a recursive function. I dont quite understand your database structure could you ellaborate. A simple example of... |
Forum: ASP.NET Jan 18th, 2009 |
| Replies: 4 Views: 789 Your looking for something like this http://freetextbox.com/download/ , although if you use it commercially you will have to pay them for the control. I have done this sort of thing by hand before... |
Forum: JavaScript / DHTML / AJAX Jan 18th, 2009 |
| Replies: 9 Views: 2,933 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: 8 Views: 553 yer you have it right now.
purchasing the domain simply allows you to trap requests to that address and then forward them to anywhere you like.
once you have the domain and hosting which... |
Forum: ASP.NET Jan 9th, 2009 |
| Replies: 8 Views: 553 Have you purchased Hosting or just the domain name?
If so you need to check if your host supports ASP.net else your projects will not work.
If they do they will provide a backend to setup a web... |
Forum: ASP.NET Jan 9th, 2009 |
| Replies: 2 Views: 380 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 Jan 9th, 2009 |
| Replies: 1 Views: 320 hey although the way your writing this can be done, it will be hard to maintain with all your permutations in the if statement. I have put together an example for you that uses lists to iterate... |
Forum: Database Design Jan 7th, 2009 |
| Replies: 2 Views: 2,311 is this the only factor you would use to weigh up which model to use?
In my opinion i believe that ORM is a much more technically based drawing and isnt doesnt reap the benefits that ERD has... |
Forum: Database Design Jan 7th, 2009 |
| Replies: 2 Views: 2,311 Hello all,
im looking to try and find a simple set of pros and cons with regards to comparing Enhanced-Entity-Relationship Diagrams and Object Role Modelling diagrams.
Basically any plus or... |
Forum: ASP.NET Jan 4th, 2009 |
| Replies: 2 Views: 1,517 first of all do they need to be added dynamically? could you get away with adding them manually first and hiding/showing certain controls. You can set the index of the step so you could technically... |