Do you have a page I can take a look at?  I threw that code into a fiddle 
(http://jsfiddle.net/xMJNx/) and it works as expected.  Are you certain you 
are including all of the js files necessary (depending on how you are 
including the js, the bootstrap javascript components may come in different 
files...)?

On Monday, March 26, 2012 8:30:04 PM UTC-7, Henry Finkelstein wrote:
>
> Nope, sadly that didn't do it.  I added the href, saw the X as a clickable 
> link with my mouseover, and # appended to my URL when I click on it - 
> behavior is as I would expect for an action.
>
> So I'm not crazy that my initialization looks as it should, right?
>
> On Monday, March 26, 2012 12:40:29 PM UTC-7, John Roberts wrote:
>>
>> Try adding an href="#" to your link.  Some browsers are finicky about the 
>> presence of an href to make a link clickable.
>>
>> On Monday, March 26, 2012 12:22:48 PM UTC-7, Henry Finkelstein wrote:
>>>
>>> Total newb question: I have both the carousel and alerts on my page, and 
>>> I have no problem initializing the carousel but seem to have trouble with 
>>> the alert.  I've included the js file, and here is my initializing script
>>>
>>>   <script type="text/javascript"> 
>>>     $(document).ready(function(){ 
>>>       $('#myCarousel').carousel('cycle');
>>>       $(".alert").alert();
>>>     });
>>>   </script>
>>>
>>> and my alert:
>>>     <div class= "alert alert-success fade in">
>>>       <a class= "close" data-dismiss="alert">×</a> 
>>>       Thank you, we received your information and will be in touch with 
>>> you shortly. 
>>>     </div>
>>>
>>> I see the alert and (x) just fine, but can't close it.  What am I 
>>> missing?
>>>
>>> Thanks!
>>>
>>

Reply via email to