[FX.php List] [OFF] Bootstrap question

Bob Patin bob at patin.com
Thu Dec 31 09:25:33 MST 2015


HI,

Well, it’s more fundamental than I thought… 

I can load into a DIV, but when I tried doing anything *after* that load, it all fails; here’s what I have:

$(‘.main').load(‘restart.php').load(‘date.php’);

The first page destroys the session, the 2nd gets them back to the start of the web app…

I then had a line that should load a DIV:

$('.main').delegate('.cancel', 'click', function(){
	$(‘.main').load(‘restart.php').load(‘date.php’);
	var str = "ENTER BILLING INFO";
	$('.title').fadeOut(200).html(str).fadeIn(200);
});

but even though the DIV is on the page, it doesn’t load it.
I do get the DATE.PHP page loaded in though…

Any thoughts?
Thanks,

Bob

P.S. Happy New Year!

 
> On Dec 30, 2015, at 1:59 PM, Dale Bengston <dale.bengston at gmail.com> wrote:
> 
> Hi Bob,
> 
> I’m no bootstrap boy, but that looks like jQuery to me. Try...
> 
> 		$("#datepicker").prop( "disabled", false );
> 		$("#thetime").prop("disabled", false);
> 
> Dale
> 
>> On Dec 30, 2015, at 1:18 PM, Bob Patin <bob at patin.com <mailto:bob at patin.com>> wrote:
>> 
>> OK, Bootstrap guys:
>> 
>> I have a simple form (2 elements, a date picker and a SELECT); when I look at it on a desktop, the 2 elements are enabled; however, when I look at it on my iPhone, they’re disabled.
>> 
>> I don’t have any code that should prevent them from being used on the iPhone.
>> 
>> Has anyone seen this, and if so, how do I enable them when they’re used on a smaller device?
>> 
>> I tried setting them to ENABLED using this:
>> 
>> 		$('#datepicker').attr('disabled',false);
>> 		$('#thetime').attr('disabled',false);
>> 
>> when the page is loaded in, but it didn’t have any effect…
>> 
>> Help appreciated as always,
>> 
>> Bob Patin
>> Longterm Solutions
>> bob at longtermsolutions.com <mailto:bob at longtermsolutions.com>
>> 615-333-6858
>> FileMaker 9, 10, 11, 12 & 13 Certified Developer
>> http://www.longtermsolutions.com <http://www.longtermsolutions.com/>
>> -
>> iChat: bobpatin at me.com <mailto:bobpatin at me.com>
>> Twitter: bobpatin
>>>> FileMaker Consulting 
>> FileMaker Hosting for all versions of FileMaker
>> PHP • Full email services • Free DNS hosting • Colocation • Consulting
>> 
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org <mailto:FX.php_List at mail.iviking.org>
>> http://www.iviking.org/mailman/listinfo/fx.php_list
> 
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20151231/06af4205/attachment.html


More information about the FX.php_List mailing list