Search found 52 matches

Go to advanced search

by anon
Wed May 07, 2014 4:31 am
Forum: Issues
Topic: XSS Prevention
Replies: 3
Views: 564
 
Jump to post

XSS Prevention

I have a service which appends (update service) text to an attribute. The text gets displayed later on other parts of my app. This chat service has one big problem, XSS. What is appery's recommended mitigation for this? Q: Is there a way to prevent someone from injecting: into a text field like this...
by anon
Tue May 06, 2014 1:40 am
Forum: Issues
Topic: Manually Appending Appery DOM objects
Replies: 8
Views: 1478
 
Jump to post

Manually Appending Appery DOM objects

Appery("allChats1").append('&lt li id="'+id+'" name="chat2" data-icon="false"&gt &lt div class="ui-li-static-container"&gt &lt div class="'+currentPage+'_itemGrid2_wrapper" data-wrapper-for="itemGrid2" dsrefid=...
by anon
Tue May 06, 2014 1:38 am
Forum: Issues
Topic: Manually Appending Appery DOM objects
Replies: 8
Views: 1478
 
Jump to post

Manually Appending Appery DOM objects

Okay, so I managed to figure out the appending but this was done by manually adding the string .... which sucks and will be a nightmare for styling, but it is rendering to the page. Now the critical piece is really troubling me. So the list appends and correctly adds the list elements with the data ...
by anon
Mon May 05, 2014 3:28 am
Forum: Issues
Topic: Manually Appending Appery DOM objects
Replies: 8
Views: 1478
 
Jump to post

Manually Appending Appery DOM objects

Latest update.. I think I have narrowed it down to this. The append is literally appending nothing because the div variable that I assigned earlier to a DOM object is JSON. I need to convert it back to HTML so append knows what to do. There are no html tags in Appery("myDiv"). How do I do ...
by anon
Mon May 05, 2014 2:56 am
Forum: Issues
Topic: Manually Appending Appery DOM objects
Replies: 8
Views: 1478
 
Jump to post

Manually Appending Appery DOM objects

I want to append a list with list elements. The only thing is that the append isn't appending, it is rewriting the previous element. allChats1 is the list and chat1 is the element which I want as many as I have in this.cache[0]. currentPage is passed as a parameter to the js which contains the page ...
by anon
Mon May 05, 2014 1:00 am
Forum: Issues
Topic: Manually Appending Appery DOM objects
Replies: 8
Views: 1478
 
Jump to post

Manually Appending Appery DOM objects

Can someone who has done this give me a hand? I am trying to manually append these "chat1" list elements to a list "allChats1". All I seem to be accomplishing is writing only one to the list. I am confident that the problem persists in the appendTo logic, as I am correctly creati...
by anon
Sun May 04, 2014 6:50 pm
Forum: Issues
Topic: Manual map of response object to page
Replies: 1
Views: 484
 
Jump to post

Manual map of response object to page

How would one go about manually mapping the response of a service (data) to elements on the page? How about if there is a list component with arbitrary elements needing to be mapped to a list? Trying to unload a cached page onto identical components on different pages..

by anon
Sun May 04, 2014 8:49 am
Forum: Issues
Topic: Service Reuse / Data Tab Issues
Replies: 1
Views: 344
 
Jump to post

Service Reuse / Data Tab Issues

So I have a service that is included in the data tab of one page in my app. I manually call these services using javascript (service.execute()/updateComponents()) on a few other pages... I have managed to do this successfully when I design the other pages with equivalent DOM id's so the update popul...
by anon
Sat May 03, 2014 2:22 am
Forum: Issues
Topic: Validate CSS with Javascript
Replies: 1
Views: 332
 
Jump to post

Validate CSS with Javascript

Can anyone attest to whether this is possible? I would think so.

if (Appery("myID").css('background') === '#BBBBBB'){
alert("true");
}
else {
alert ("false");
}

How would I accomplish this assuming the color was indeed true

by anon
Fri May 02, 2014 9:10 pm
Forum: Issues
Topic: Custom jQuery Mobile versions?
Replies: 5
Views: 638
 
Jump to post

Custom jQuery Mobile versions?

Is it possible to use a particular version of jQuery Mobile for our app? I can't seem to find the script tag include where jQuery Mobile is either locally referenced or called via url. There are a few bugs in scrolling and swiping (Android only) in the current jQuery Mobile release, and it is affect...

Go to advanced search