Search found 12 matches

by toraj58
Sun Jul 05, 2009 3:30 am
Forum: Javascript
Topic: signon.rememberpassword
Replies: 1
Views: 334

Re: signon.rememberpassword

sorry it was signon.remembersignons
by toraj58
Sun Jul 05, 2009 12:27 am
Forum: Javascript
Topic: signon.rememberpassword
Replies: 1
Views: 334

signon.rememberpassword

how to make signon.rememberpassword false in firefox with javascript (not manuallay).
my goal is to disable remember password feature in firefox when user login into my site and then enable
it again when user log out from my site.
by toraj58
Thu Sep 18, 2008 3:55 pm
Forum: PHP - Code
Topic: Using PHP and connect to MS SQL?
Replies: 1
Views: 289

Re: Using PHP and connect to MS SQL?

try PEAR DB. i have an example here for you and then benefits of PEAR DB.   <?php $host = 'localhost'; $uname = 'bp5am'; $passwd = 'bp5ampass'; $db_name = 'comicsite'; $db_type = 'mysql'; require_once('DB.php'); $dsn = "$db_type://$uname:$passwd@$host/$db_name"; $conn = DB::connect($dsn); ...
by toraj58
Tue Sep 16, 2008 2:29 pm
Forum: PHP - Code
Topic: next, previous row.... my code
Replies: 2
Views: 479

Re: next, previous row.... my code

i have revised your code a little bit; try this:   [b]$bnext = $bprev = true;[/b] $up=$_GET['new']+1; $down=$_GET['new']-1; if($max!=$_GET['new']){ $next='?new='.$up.''; } else{ $next='#'; [b]$bnext = false;[/b] } if($min!=$_GET['new']){ $prev='?new='.$down.''; } else{ $prev='#'; [b]$bprev=false;[/b...
by toraj58
Sun Jun 29, 2008 5:46 am
Forum: Javascript
Topic: sharing variables between javascript functions
Replies: 2
Views: 1073

Re: sharing variables between javascript functions

thanks for your reply...but my problem was another thing but i discribed it improperly...anyway i found solution for my problem.
by toraj58
Sat Jun 28, 2008 6:58 am
Forum: Javascript
Topic: sharing variables between javascript functions
Replies: 2
Views: 1073

sharing variables between javascript functions

i have two javascript fuctions in my page and i want to have access to some variables of the first function within second function. how shoud i do that?
by toraj58
Tue Jun 17, 2008 12:06 am
Forum: Javascript
Topic: canceling onclick event for some cells in the table
Replies: 5
Views: 587

Re: canceling onclick event for some cells in the table

i think Kieran Huggins's answer is near to what i want to do but somewhat i need more explanation.
by toraj58
Mon Jun 16, 2008 6:33 am
Forum: Javascript
Topic: canceling onclick event for some cells in the table
Replies: 5
Views: 587

Re: canceling onclick event for some cells in the table

i want stop the event from bubbling...also where in the code should i call the function that you have proposed?
by toraj58
Mon Jun 16, 2008 5:51 am
Forum: Javascript
Topic: canceling onclick event for some cells in the table
Replies: 5
Views: 587

canceling onclick event for some cells in the table

i have wrote an onclick event for the rows of the table (<tr> tag ) but i want to disable the onclick for two columns (<td> tag ). what should i do? by defualt when i enable onclick for a row it will works for all the column in the row. my row has 12 columns and i don't need onlick for the last twos...
by toraj58
Sun Jun 15, 2008 6:49 am
Forum: Javascript
Topic: <select ...<option (tag problem)
Replies: 3
Views: 602

Re: <select ...<option (tag problem)

tnx, it works...another question how i can extract name(not value) of selected option and put it into textbox2?
by toraj58
Sun Jun 15, 2008 6:22 am
Forum: Javascript
Topic: <select ...<option (tag problem)
Replies: 3
Views: 602

<select ...<option (tag problem)

i have problem with this javascript code. i can not access to this value : window.document.theform.select1.op2.value; and i got error! please help me.   <script language = "javascript">   function disp() { //document.write('information was sent'); window.document.theform.txt1.value = "...
by toraj58
Sun Jun 15, 2008 12:45 am
Forum: PHP - Code
Topic: calling PHP function using onclick event
Replies: 1
Views: 419

calling PHP function using onclick event

i already know how to call a javascript function using onclick event of a button, but i encountered problem when i tried to call PHP function; how i can do it. is it possible or not?