I am new to JQM, but not no jquery. I am using the corner.js plugin which works fine on normal web pages.
So I have the following code in the html HEAD.
<script type="text/javascript">
$(document).ready(function() {
$('div.grid_inner').corner("round 8px").parent().css('padding', '4px').corner("round 14px");
});
</script>
I have the following DIV
<div data-role="content">
<div class="grid_outer" id="grid_outer_profile">
<div class="grid_inner" id="grid_inner_profile">
<table>
<tr>
<td><img src="<?php echo $avatarpath; ?>" /></td>
</tr>
<tr>
<td><?php echo $email; ?></td>
</tr>
<tr>
<td><?php echo $aboutme; ?></td>
</tr>
</table>
</div>
</div>
</div><!-- /content -->
The problem is that the CSS corners are not applied. not on my desktop, my Android phone or Android Tab.
ONLY AFTER I do a refresh they are applied. I am trying to find out if I need to do a forced refresh of components, but if so, I do not know how to do it for a named DIV. Or, maybe I am fundamentally doing something wrong ??
Thanks for your help!