Forum: PHP 30 Days Ago |
| Replies: 7 Views: 238 on line 17 of your original post, change:
<?
to:
<?php |
Forum: XML, XSLT and XPATH 33 Days Ago |
| Replies: 4 Views: 638 sorry, the for clause should be
for( var i=0, limit=document.images.length-1; i < limit; ++i)
... |
Forum: XML, XSLT and XPATH 33 Days Ago |
| Replies: 4 Views: 638 var siblings=[]
for( var i=0, limit=document.images.length-1; ++i)
{
if( document.images[i].parentNode===document.images[i+1].parentNode)
siblings[siblings.length]=i;
}
alert(... |
Forum: PHP Feb 19th, 2009 |
| Replies: 9 Views: 3,727 humbug, thanks for the reply. Hopefully icandothat can shed some light on the source of pertaining code. Take care. |
Forum: JavaScript / DHTML / AJAX Feb 19th, 2009 |
| Replies: 9 Views: 1,147 you are welcome. Take care. |
Forum: JavaScript / DHTML / AJAX Feb 18th, 2009 |
| Replies: 9 Views: 1,147 Yes you do. If you leave the double quotes, you are NOT assigning a function reference. You are assigning a string. In the future, instead of replying with a condescending response ("please try... |
Forum: JavaScript / DHTML / AJAX Feb 17th, 2009 |
| Replies: 9 Views: 1,147 >>please try before posting a solution.
I've done that time and time again. What I suggested works. But just to humor you, I tested it and it still works. So YOU must be doing something wrong on... |
Forum: JavaScript / DHTML / AJAX Feb 16th, 2009 |
| Replies: 1 Views: 561 >>is this feasible?
yes. make an ajax request to the "main" page and if you get the "main" page then redirect. If you are not familiar with ajax, refer to the following:... |
Forum: JavaScript / DHTML / AJAX Feb 16th, 2009 |
| Replies: 9 Views: 1,147 should be:
btn.onclick = doSomething; |
Forum: PHP Feb 16th, 2009 |
| Replies: 9 Views: 3,727 >>i was putzing around with this same piece of code and didn't see that either
out of curiosity, where did you guys get that code from?
>>thanks.
you are welcome. |
Forum: PHP Jan 9th, 2009 |
| Replies: 5 Views: 365 case 10:
//1. use mysql_real_escape_string to avoid sql injection attacks
//2. if you actually meant to assign values, you do NOT need an if... |
Forum: JavaScript / DHTML / AJAX Jan 9th, 2009 |
| Replies: 3 Views: 1,046 |
Forum: JavaScript / DHTML / AJAX Jan 8th, 2009 |
| Replies: 3 Views: 1,046 once the page has finished loading, if you call document.write you "destroy" the current document, and a new document will be created containing the new content you are writing. In your case, the... |
Forum: PHP Jan 8th, 2009 |
| Replies: 9 Views: 3,727 |
Forum: JavaScript / DHTML / AJAX Jan 7th, 2009 |
| Replies: 6 Views: 1,274 did you change:
...=new this.ajaxRequest();
to
...=new ajaxRequest();
everywhere?
Do you have URL? Most likely you are having a synchronization problem since you are submitting ajax request... |
Forum: JavaScript / DHTML / AJAX Jan 6th, 2009 |
| Replies: 6 Views: 1,274 try:
...
function loadURL(url)
{
mygetrequest=new ajaxRequest();
...
} |
Forum: PHP Jan 3rd, 2009 |
| Replies: 2 Views: 1,368 set the time limit on your script to zero so that your script doesn't timeout.
http://us.php.net/set_time_limit |
Forum: PHP Jan 2nd, 2009 |
| Replies: 9 Views: 3,727 >>Notice how line 24 of my code includes "GET" and not "POST"? That's the call I used to (successfully) send a GET request (as the English above clearly states).
Yes, I can see that, but it is NOT... |
Forum: JavaScript / DHTML / AJAX Jan 1st, 2009 |
| Replies: 10 Views: 2,580 LOL - Yes, of course, RegExp() :) |
Forum: PHP Jan 1st, 2009 |
| Replies: 9 Views: 3,727 you are passing only three parameters. For post, your third parameter should be only the php script that processes the request(without the querystring parameters) and the fourth parameter should be... |
Forum: PHP Jan 1st, 2009 |
| Replies: 3 Views: 334 in PHP you use a period to concatenate/join strings:
$stringData = $myname . ": ". $mymessage . "\n"; |
Forum: JavaScript / DHTML / AJAX Jan 1st, 2009 |
| Replies: 10 Views: 2,580 >>I knew about the RegExe() objec
It's RegEx() NOT RegExe()
>>Thank you!
You are welcome |
Forum: JavaScript / DHTML / AJAX Dec 31st, 2008 |
| Replies: 10 Views: 2,580 Use the RegExp contructor. It accepts two arguments:
1. the regular expression pattern
2. reg ex options (g=global, etc)
var _regex = new RegExp( "^" + _inputText.value, "i");
NOTE: If... |
Forum: ASP Dec 29th, 2008 |
| Replies: 5 Views: 1,564 1. Open Windows Explorer, and choose Folder Options from the Tools menu.
2. On the View tab, scroll to the bottom of the Advanced Settings and clear (click) the check box next to "Use Simple... |
Forum: JavaScript / DHTML / AJAX Dec 29th, 2008 |
| Replies: 5 Views: 1,318 If you are not receiving all the data, it's possible your server's POST limit is too low for your needs. If you are using PHP, look for:
; Maximum size of POST data that PHP will accept.... |
Forum: ASP Dec 29th, 2008 |
| Replies: 3 Views: 1,992 |
Forum: ASP Dec 29th, 2008 |
| Replies: 5 Views: 1,564 >>How to give full control
Right Click the folder in question > Properties > Security tab > IUSR_machineName
Let permissions propagate to sub-folders as well |
Forum: ASP Dec 28th, 2008 |
| Replies: 3 Views: 1,992 you cannot call the function directly. You need to call a server-side script an pass arguments to the script. Then process those arguments and do whatever you need to do depending on the values of... |
Forum: ASP Dec 28th, 2008 |
| Replies: 5 Views: 1,564 You will need to give full control to the Folder where the file resides to the IUSR_<machineName> (Where machine name is the name of your computer) user account. |
Forum: ASP Dec 28th, 2008 |
| Replies: 8 Views: 1,244 |
Forum: JavaScript / DHTML / AJAX Dec 28th, 2008 |
| Replies: 1 Views: 968 try this for tabs.htm:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>... |
Forum: ASP Dec 28th, 2008 |
| Replies: 8 Views: 1,244 on what you posted, you need quotes around the email addresses:
myMail.From="mymail@mydomain.com"
myMail.To="someone@somedomain.com"
Also, this is not right:
myMail.Sendset
The "Set"... |
Forum: JavaScript / DHTML / AJAX Dec 28th, 2008 |
| Replies: 3 Views: 5,796 another problem you are likely to encounter is that on line 38:
updateAjax();
you are NOT passing any parameter to your function. After looking at the start of your function:
function... |
Forum: JavaScript / DHTML / AJAX Dec 28th, 2008 |
| Replies: 5 Views: 1,318 refer to the makePOSTRequest on the following page:
http://www.captain.at/howto-ajax-form-post-request.php |
Forum: JavaScript / DHTML / AJAX Dec 28th, 2008 |
| Replies: 3 Views: 5,796 on line 34 of the code you posted you are NOT checking to see if the request has completed. The iteration portion of the code you posted looks right, but when you make an ajax request, the... |
Forum: JavaScript / DHTML / AJAX Dec 25th, 2008 |
| Replies: 1 Views: 457 |
Forum: MySQL Dec 21st, 2008 |
| Replies: 1 Views: 594 SELECT idpersona, Max(idcategoria) as categoria, Max(datapagamento) as pagamento, Max(datascadenza) as scadenza
FROM personacategoria
WHERE NOW( )
BETWEEN datapagamento
AND datascadenza ... |
Forum: JavaScript / DHTML / AJAX Dec 19th, 2008 |
| Replies: 1 Views: 572 refer to the demo on the following link:
http://digitalbush.com/projects/masked-input-plugin/ |
Forum: JavaScript / DHTML / AJAX Mar 29th, 2008 |
| Replies: 2 Views: 1,972 In your inner if you have this:
a[i].document.getElementById('td').innerHTML='<div class="js-kit-comments" permalink=""></div>'; && ...
which is doing assignment(single equal sign), not... |
Forum: JavaScript / DHTML / AJAX Jan 28th, 2008 |
| Replies: 11 Views: 2,458 If your fields have names such as "input[]", you do not need to provide any numbers inside the brackets. That naming convention (adding brackets at the end of the field name, is necessary for PHP... |