« first day (2678 days earlier)      last day (1424 days later) » 

 
2 hours later…
user13423578
9:44 AM
var delButtonHTML = '<a class="' + options.deleteCssClass + '" href="javascript:void(0)">' + options.deleteText +'</a>';
if (options.deleteContainerClass) {
// If we have a specific container for the remove button,
// place it as the last child of that container:
row.find('[class*="' + options.deleteContainerClass + '"]').append(delButtonHTML);
}
else if.....

$.fn.formset.defaults = {
addContainerClass: null, // Container CSS class for the add link};
 
1 message moved from JavaScript
 
 
4 hours later…
1:44 PM
Rxjs: Does anyway know how I can execute a method (which returns an observable) for every item in an array? .e.g:

public getArray(arr): Observable<any> { return arr.pipe(..[insert code :-P] }

// I'm not allowed to edit this method
public getOne(item) {
return of(item);
}
 
1 message moved from JavaScript
 
 
1 hour later…
 
2 hours later…
 
3 hours later…
8:26 PM
str="#%%90gwegewg^'^'+%";
for(i=0;i<=str.match(/%/g).length;i++){
if(str.split("%")[i].length!=2){
//i want to replace it to which splitted percent character length < 2 replace to %25
}
}
//so i want to make str variable to: str="#%25%90gwegewg^'^'+%25";

How can i do this? Can anyone help me?
 
1 message moved from JavaScript
 
str="#%%90gwegewg^'^'+%";
for(i=0;i<=str.match(/%/g).length;i++){
if(str.split("%")[i].length!=2){
//i want to replace it to which splitted percent character length < 2 replace to %25
}
}
//so i want to make str variable to: str="#%25%90gwegewg^'^'+%25";

How can i do this? Can anyone help me?
 
1 message moved from JavaScript
 

« first day (2678 days earlier)      last day (1424 days later) »