Hi, I have managed to change the shape of the data-icon background using the following code but I on a list view regardless of what data-icon I add I only get the '+' sign.
Also is there a way I can add the code to a specific theme only?
Hi I have the following code that when selected adds another item to the list. The problem I have is that the additional item does not get recognised on the following event handler especially as I want to return the id and the data-stream value. It works perfectly fine on the first block of code but not when the second is added.
Hi, I four roles of input buttons that form a grid, i.e when one item is chosen the equivalent buttons in the other rows are switched off.
I have the radio buttons attached to a click handler().
All works fine but is it possible to return the id of the fieldset in this case it would be either fieldset1 or fieldset2. when a radio button is selected?
Hi, I am not sure if this is the right place to post but here goes. Can anyone tell me that if you close an app to use another one then re-open the original do you open on the same page and any settings that are in use remain? For example, if a user enters there name and age in an app - close it whilst for example using the calculator - then re-open it, would it still open in the same page with both the names and age that the user had entered still in tact?
I want to return the index of the letter 'a'. Using inArray I only get the index of the first 'a', is there a way you can return all the values without looping through with a for next loop?
Using $(this) how would I get the values from the <a href> statement.
Presently I am trying to something like this:
$('. getMe').live('click', function(event){
alert('id = "+$(this).attr('id'));
});
But I would like to get the value of the <a href> and ideally don't really want to make the click event function call from the link but instead keep it from the <li> class.
Hi, I have one document containing multiple pages. I also want to import an XML file (online) when a link to another page is called.
I am not sure what code to use when this link is used to populate the next page before it is shown. I just want to have the loading message appear before the XML file is called and when the XML is loaded transition to the next page.
Hi, I have a listview that when clicked on calls a function to disable that option. When I click the reset button it re-enables all the options in the list but any options that have been previously selected stay the same colour as if they have been selected rather than reverting back to its natural colour.
The only way to get it back to its original colour is by running the mouse over them.
Hi, if I have a list view with an <href> tag, is it possible after I disable the <li> item how do I stop it calling the event function that is associated with it?
Hi, I have a fieldset on my page that contains 7 radio buttons horizontally. I am stuck however on how to style it as I want the buttons to be red and when pressed change to blue.
Also I want a white border around the fieldset and not each button.
Example.
---------------------------------
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | : Horizontal role of buttons in the field set.
Hi, I'am trying to create an app. I have all the basics but have stumbled into this scenario.
One each page I have the same four buttons, e.g, A1, A2, A3, A4
So in theory you could navigate from the home screen to A1, from A1 to A2 right through to A4.
I want to know how the end-user can revert back to the original page they were on instead of having to scroll-back through each page.
For example.
If the user was on page 2 and tapped A1, then from here A2, and then A3. Using the back button would automatically go back to page 2.
Presently doing this the user would have to go back A3>A2>A1.
These pages could be called from any of the five main pages on the mobile site so this scenario could occur when using Page1, Page2, Page3 and so on so it is not a straight forward link back to a certain page.
Hi, I am using a dynamic list with the code below to populate the <daytime> list. What I would like to know is how I can bind a click value to the dynamicaly generated list items?
Hi, I have run into the following problem regarding user input when importing my code into Phonegap/Cordova
The code I use is:
$('.sportA').bind('click', function(){
// Whatever this button does...
});
If I run my code in a browser window it runs as intended but when I import it into Cordova and run it in Xcode the following happens. After the initial tap/click on a selected button that button has to be tapped/clicked on twice before it will be activated rather than once.