Search Results

Showing results 1 to 40 of 74
Search took 0.16 seconds.
Search: Posts Made By: nav33n ; Forum: JavaScript / DHTML / AJAX and child forums
Forum: JavaScript / DHTML / AJAX Nov 16th, 2009
Replies: 4
Views: 571
Posted By nav33n
Yep! It sure is. :)
Forum: JavaScript / DHTML / AJAX Nov 16th, 2009
Replies: 6
Views: 532
Posted By nav33n
I hope this is what you are looking for.
http://www.i-marco.nl/weblog/archive/2007/06/14/variable_variables_in_javascri
Forum: JavaScript / DHTML / AJAX Nov 16th, 2009
Replies: 4
Views: 571
Posted By nav33n
Have onsubmit event for form. Here is ane example.

<?php
if(isset($_REQUEST['submit'])) {
print "<pre>";
print_r($_REQUEST);
print "</pre>";
}
?>
<html>
Forum: JavaScript / DHTML / AJAX Apr 17th, 2009
Replies: 10
Views: 2,263
Posted By nav33n
Hmm.. It has to! Did you use error console to see the error message ? If you can post your complete code, we could see where you are going wrong.
Forum: JavaScript / DHTML / AJAX Apr 17th, 2009
Replies: 10
Views: 2,263
Posted By nav33n
You forgot to remove with(form) :)


Edit: For testing purpose, you can use error console in mozilla firefox to know where the error is.
Forum: JavaScript / DHTML / AJAX Apr 17th, 2009
Replies: 10
Views: 2,263
Posted By nav33n
What is with(form) ? Are you calling a function called with which is declared somewhere else ?
Also, agreement.value.checked wouldn't work because, The syntax is not correct It will say...
Forum: JavaScript / DHTML / AJAX Mar 31st, 2009
Replies: 5
Views: 946
Posted By nav33n
Well, I don't have an example with me. But, Instead of having an xml, you can query the table, then have a select element where you can show all the matching values. Also have an onchange event for...
Forum: JavaScript / DHTML / AJAX Mar 31st, 2009
Replies: 5
Views: 946
Posted By nav33n
Try it in Firefox, open Error console and see whats going wrong.
Forum: JavaScript / DHTML / AJAX Mar 31st, 2009
Replies: 1
Views: 573
Posted By nav33n
I am not aware of any function in javascript which is equivalent to php's exit function ! But I guess you are looking for <noscript> (http://www.w3schools.com/TAGS/tag_noscript.asp).
Forum: JavaScript / DHTML / AJAX Mar 31st, 2009
Replies: 5
Views: 946
Posted By nav33n
I tried all the scripts and they work (on both IE and mozilla) ! What error are you getting exactly ?
Forum: JavaScript / DHTML / AJAX Mar 16th, 2009
Replies: 11
Views: 2,229
Posted By nav33n
Why don't you share that reply with the members of this awesome website ? Let serkan sendur and ShawnCplus also know what you were looking for.
Forum: JavaScript / DHTML / AJAX Mar 13th, 2009
Replies: 3
Views: 3,123
Posted By nav33n
The simplest answer to your question is, No. Its not possible to disable 'back' button of the browser.
As far your question is concerned, When the user logs in, you can set a session variable, say,...
Forum: JavaScript / DHTML / AJAX Mar 11th, 2009
Replies: 4
Views: 1,351
Posted By nav33n
I tried your code and it works perfectly ! The only thing I changed was,
<script language="Javascript" type="text/javascript"> which earlier was,

<script language="Javascript"...
Forum: JavaScript / DHTML / AJAX Mar 10th, 2009
Replies: 17
Views: 1,641
Posted By nav33n
I can't. Your code doesn't seem to work on FF as well as IE on my computer. :-/ What do you mean by its working btw ?What is the script intended to do ?
Forum: JavaScript / DHTML / AJAX Mar 10th, 2009
Replies: 17
Views: 1,641
Posted By nav33n
:S I don't think you can enable/disable a "div".
Forum: JavaScript / DHTML / AJAX Mar 10th, 2009
Replies: 17
Views: 1,641
Posted By nav33n
I figured out that much though! And also I managed to make some quick changes to his existing script. It works on both IE and firefox! @OP, Is this what you were looking for ?

<html>
<head>...
Forum: JavaScript / DHTML / AJAX Mar 10th, 2009
Replies: 1
Views: 712
Posted By nav33n
<html>
<head>
<script type="text/javascript">
function validateCB(loctext)
{
if(document.rec.loc.value=='')
{
loctext.innerHTML = "please select one option";
return false;
}
Forum: JavaScript / DHTML / AJAX Mar 10th, 2009
Replies: 17
Views: 1,641
Posted By nav33n
@OP, Is it even possible to disable/enable a div tag ?
Forum: JavaScript / DHTML / AJAX Mar 10th, 2009
Replies: 17
Views: 1,641
Posted By nav33n
mschroeder, That is a bug with [code] tags. I have even posted a thread for the same (<b></b>) here (http://www.daniweb.com/forums/thread178010.html).
Forum: JavaScript / DHTML / AJAX Mar 10th, 2009
Replies: 2
Views: 848
Posted By nav33n
Use length (http://www.tizag.com/javascriptT/javascript-string-length.php).

if(form.username.length < 6) {
alert('Username less than 6 characters..');
}

Btw, I don't understand your code....
Forum: JavaScript / DHTML / AJAX Mar 2nd, 2009
Replies: 5
Solved: Validations?
Views: 695
Posted By nav33n
Ehm.. Okay :confused:
Forum: JavaScript / DHTML / AJAX Mar 2nd, 2009
Replies: 5
Solved: Validations?
Views: 695
Posted By nav33n
First of all, this question belongs to Javascript forum. Its a javascript related question. 2nd, Post your code and tell us what is not working. We aren't 24/7 free coding service to provide you with...
Forum: JavaScript / DHTML / AJAX Mar 2nd, 2009
Replies: 2
Views: 520
Posted By nav33n
Btw, Java is totally different from Javascript. :)
Forum: JavaScript / DHTML / AJAX Feb 26th, 2009
Replies: 11
Views: 1,863
Posted By nav33n
You are absolutely right ! :icon_lol:

Hmm! I didn't know that..
Forum: JavaScript / DHTML / AJAX Feb 26th, 2009
Replies: 11
Views: 1,863
Posted By nav33n
I found this example. http://www.quirksmode.org/dom/cms.html
But again, he uses 'TEXTAREA' and not 'textarea' :-/

Using the example given in the website,

<html>
<body>
<head>
<script...
Forum: JavaScript / DHTML / AJAX Feb 26th, 2009
Replies: 11
Views: 1,863
Posted By nav33n
Hi there! The issue is with innerHTML! Check this link..
http://www.developer-x.com/content/innerhtml/
Forum: JavaScript / DHTML / AJAX Feb 25th, 2009
Replies: 5
Views: 463
Posted By nav33n
Forum: JavaScript / DHTML / AJAX Feb 25th, 2009
Replies: 5
Views: 463
Posted By nav33n
What if the client has disabled javascript ?
Forum: JavaScript / DHTML / AJAX Feb 25th, 2009
Replies: 5
Views: 463
Posted By nav33n
You can do this in php itself ! Why do you want to rely on javascript ?
Forum: JavaScript / DHTML / AJAX Jul 23rd, 2008
Replies: 17
Views: 2,107
Posted By nav33n
I tested with IE6 and FF3 and I don't see any difference in the way they work ! I don't have IE5, so I can't really tell where its going wrong(?!?)
Forum: JavaScript / DHTML / AJAX Jul 23rd, 2008
Replies: 17
Views: 2,107
Posted By nav33n
Are you sure about that ? I don't think so. It works fine for me.

Try "\n".

<html>
<head>
<script type="text/javascript">
var firstnumber = prompt("Enter first number and Click OK", "0");...
Forum: JavaScript / DHTML / AJAX Jul 23rd, 2008
Replies: 21
Views: 3,477
Posted By nav33n
Yep :) Almost like Daniweb's "Go Advanced" and "preview" buttons !
Forum: JavaScript / DHTML / AJAX Jul 23rd, 2008
Replies: 21
Views: 3,477
Posted By nav33n
umm.. the form doesn't have a submit button..
But anyway, I am sure it works.
Forum: JavaScript / DHTML / AJAX Jul 23rd, 2008
Replies: 21
Views: 3,477
Posted By nav33n
:@ Its asking for username and password !

P.S. Its working for them now.. ;)
Forum: JavaScript / DHTML / AJAX Jul 23rd, 2008
Replies: 15
Views: 2,209
Posted By nav33n
I don't think so. uncomment print_r($_POST) and see if it shows any data on page load.
Forum: JavaScript / DHTML / AJAX Jul 23rd, 2008
Replies: 17
Views: 2,107
Posted By nav33n
Here are some more changes.
1. script type="text/javascript". You have a typo.
2. its parseInt and not parselnt.
3. Doesn't make any sense to me. You don't need it.
And ofcourse, don't forget...
Forum: JavaScript / DHTML / AJAX Jul 23rd, 2008
Replies: 15
Views: 2,209
Posted By nav33n
Yes you can. Just keep it within the form tag.
Forum: JavaScript / DHTML / AJAX Jul 23rd, 2008
Replies: 15
Views: 2,209
Posted By nav33n
Okay ! I have attached a working copy of the editor. Check it and tell us if you still have problems!
Forum: JavaScript / DHTML / AJAX Jul 23rd, 2008
Replies: 21
Views: 3,477
Posted By nav33n
Umm.. what are you guys trying ? Tinymce or fckeditor ?
Forum: JavaScript / DHTML / AJAX Jul 23rd, 2008
Replies: 15
Views: 2,209
Posted By nav33n
In the above example, test.php , we have this line.

Check if tiny_mce.js exists in the above path. If the file (tiny_mce.js) doesn't exist in the path specified, specify the right path. ...
Showing results 1 to 40 of 74

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC