« first day (1490 days earlier)      last day (2612 days later) » 

10:36 AM
Hi,

Is there any way to check in JS if function was executed successfully?
For example I have:
value = value.replace('$','')

I want to do something if the replace was successful but if it wasnt, I want do something else

can I do something like:
value = value.replace('$','')
if(success) {
action1
}
action2

?
 
1 message moved from JavaScript
 
@T
@TheLostMind inime pesaran bro.
 
 
1 hour later…
11:57 AM
0
Q: Add image in dropdownlist

Ivin Raj1) I want to add image with the options in the dropdownList .I have attached screen shot 2) and also i want to select the language first and country which are related to this language should be selected.It is working fine ,the problem is when i select the language the country drop downlist a...

 
1 message moved from JavaScript
 
 
4 hours later…
3:58 PM
function upon_success ( xml ) {
$(xml).find('item').each(
function (index) {
$("#AllNews").append('<li>' + $(this) + '</li>');
});

}
 
1 message moved from JavaScript
 
 
2 hours later…
6:03 PM
Budafoki út 8.
HU-1111 Budapest
 
6:42 PM
1 message moved from CHATLAB and Talktave
 

« first day (1490 days earlier)      last day (2612 days later) »