Hello,
Thank you for your contributions.
jpadie, your script works like a charm.
Trying to continue with what I was doing (originated by 1DMF, which syntax is a bit more accessible to me, at this point) I came to do the following:
$('.button').click(function (e) {
e.preventDefault()...
Hello,
Thank you very much jpadie and 1DMF.
The reason why I am using brackets is to be able to get the particular value of each element (the number of them is unknown-although there is a limit- and they come from a while loop).
It didn't occur to me that I can use $(this) to be able to do so...
Hi,
Thank you very much for your reply and all the information.
I have to say that I had written the first script wrongly. Actually i had written it like you did:
for( var i=0; i<6;i++){
$("#button[" + i + "]").click (function(){
....
});
};
I have changed something, following the...
Hello,
I would like to know, please, if there is any reason why the following is not working (using the jQuery click function):
var i;
for(i=0; i<6;i++){
$("#button[i]").click(function(){
....
});
};
I am using a jquery API to make a post connection to a file in a third server (via the...
Yes, it makes sense. I can make a new array stracting the first term from its elements, order it and then use array_search to find out what the position of each element is, in the new array, and order the former according to it.
Thank you!
enjoy practicing languages at: www.sharinglanguage.com
Yes, it makes sense. I can make a new array stracting the first term from its elements and the use array_search to find out what the position of each element is, in the new array, and order the former according to it.
Thank you!
enjoy practicing languages at: www.sharinglanguage.com
Hello!
I am not sure about what (and how) function to use to order the elements of an array.
I have an array whose elements are strings and these are like sentences. I would like to order it by alphabetical order of the first word after the first space.
For instance, if this is the array...
Thanks again jpadie,
it seems like bcrypt is not supported by my PHP version (5.2),
I´ll need to find something else.
Or maybe I can add it as library?
I don´t need anything very complex actually, but for instance I read bad opinions on md5.
Regards
enjoy practicing languages at...
Thank you so much jpadie!,
I swear I checked the manual but didn´t see that (sure I didn´t check enough).
I´ll try what you suggested
Thanks a million
enjoy practicing languages at: www.sharinglanguage.com
Hello,
it is the first time I use crypt function.
I just wanted to secure some data but nothing complicated.
I use it this way:
I retrieve a variable, for instance: $variable.
Then I create a salt everytime I want to encrypt some data.
So, I do this:
$newvalue=crypt($variable, $salt);
Then I...
I've found a solution, at least it has worked once. I had and have to do the following, when I do a query with Sregistros2, before the Update:
if($reg=mysql_fetch_array($registros2))
since it belongs to $registros2. I hope it keeps working...
enjoy practicing languages at...
Hello,
I have a problem involving Phpmailer and a While loop. Actually I have always had problems to sending emails this way. Now for instance I can send e-mails trough an IF (instead of While) and the following script works fine. But as soon as I change it into While it doesn't. Even the last...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.