Hello, I have div, which has id 'content'. It's visible.
<div id="wrapper" style="display:block">
<div id="content">
Some text
</div>
</div>
Now I want to fade it out:
$('#wrapper').fadeIn( 1500 );
$('#content').click(function(){
$(this).fadeOut( 1500 );
});
And nothing happens.
But when I wrote:
$('#content').fadeIn( ...
I'm loading an array in my javascript. I need to send this array, in some format, to the PHP script that I'm going to call. In my example below, gSelectedMeds is my array. The value "count" will tell the PHP script how many "meds" items to expect to receive. I'm having trouble getting the data from the array into an format that I can sen...
Hello , i have a problem with the tab size in jquery UI , they are HUGE .. i changed a bit the css but cant find the propper id/class to fix it .. :(
and the text inside the tab aslo changes size :S
as always , any change is appreciated
Thanks!
...
Hi, simple question i think, but cant figure this out
How can I wrap particular text into DIV?
Have this
Price:<strong>£12.30 (Ex VAT)</strong>
And need to have this:
<div>Price:<strong>£12.30 (Ex VAT)</strong></div>
Thanks for your help
...
I want to load only links within a certain div inside the tab, otherwise it should just go to the actual link.
Current the code i use loads all links inside the content in the same tab
<script type="text/javascript">
$(function(){
$('#tabs').tabs({
load: function(event, ui) {
$('a', ui.panel).click(f...
I'm writing a little plugin for jQuery and so far I've got this:
(function($){
$.fn.extend({
someFunction: function() {
return this.each(function() {
var obj = $(this);
obj.focus(someInternalFunction(obj));
});
}
});
function someInternalFunction(obj...
Hi
Can anyone point me in the direction of how to use jQuery modal popups with AS.Net MVC and AJAX.
Has anyone managed to do this well?
I've tried JQModal and JQuery UI but haven't managed to find any good samples or tutorials yet.
Any help appreciated.
Thanks
...
Hi!
I created some dependent dropdowns in a chain. The one at the top should fire multiple Ajax requests for each dropdowns below it.
I'm using jQuery 1.3.2 with livequery so event handlers should be bind for all reloaded DOM items, yet triggering change doesn't occur for newly updated elements.
What am I doing wrong over here?
funct...
Hello, I have a menu and jquery-code, which makes its background-image different when hover.
$('#menu a').hover(function() {
$(this).css( 'background', 'url(images/slider_bg_hover.png) repeat-x' );
},function(){
$(this).css( 'background', 'url(images/slider_bg.png) repeat-x' );
...
I feel like this must have been asked, but I'm unable to find it through my searches.
Here's a complete example of the issue that's confusing me:
<html><head>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script>
<script type="text/javascript">
(function($){
$.fn.test...
I'm looking for a way to dispatch an event from my jQuery plugin so that it can have multiple listeners for that event. I have the plugin setup so that it returns a reference to itself so that I can add listeners later via public methods.
The only examples I've seen so far have a single event handler, e.g.:
$.fn.foo = function( options...
Sorry for all the dumb jquery questions I'm still learning and find this to be a GREAT resource!
How can I show a <li> on click of a class here is my html
<li><a href="#" rel="sample.gif">sample.gif</a> <a href="#" class="edit_project_file"> <img src="images/edit.gif"/></a></li>
<li class="edit_project_image" style="display:none;...
Hi,
I need to incorporate a Timezone dropdown selection within my web app, which I need to use within an Oracle database.
I basically require the user to select their timezone and I then need to use this against time stamp info stored within the Oracle tables.
Unsure where/how to build this Timezone selection list within my page - exa...
I guess what I mean is, if I make a site that uses AJAX to load some content that I also want search engines to find -- if I make the page work sans-javascript (say, when javascript isn't present, a link goes to site.com?c=somecontent rather than calling a function with $("#content").load("somecontent.html");), will the search engine fol...
I've found a couple of examples on how to lazy load jQueryUI, but none uses Events/one. That seems perfectly suited to this task as it defines an event handler which only runs once.
I can't quite put it all together though. If I load content via AJAX by putting a link in the tab's <li>, I can't figure out how to only load it once with...
I have a page with 5 select's that all have a class name 'ct'. I need to remove the option with a value of 'X' from each select while running an onclick event. My code is:
$(".ct").each(function() {
$(this).find('X').remove();
});
Where am I going wrong?
Thanks,
Chris
...
In doing an autorefresh by putting the following code,i assumed that when i do a post the model will automatically sent to the controller ,
$.ajax({
url: '<%=Url.Action("ModelPage")%>',
type: "POST",
//data: ??????
success: function(result) {
...
Hi, Im trying to achieve the following:
A certain page will have a series of strings, which are replaced with database content if it exists.
For example:
<h2 class="label">Title:</h2>
<p class="value">{{Title}}</p>
Would become:
<h2 class="label">Title:</h2>
<p class="value">This is the title</p>
The problem is, if the database ro...
hi,
has anyone tried using jquery autocomplete plugin with DWR as data source.
i need autocompletion functionality for my page, but i am also using dwr instead of typical ajax call.
i found one link regarding this, but i am unable to locate the source code for this!
http://www.nabble.com/-autocomplete--jquery-%2B-dwr-td22691104s27240...
Hi,
I am using the HTML table. the first column contain the checkbox. How to get the cell values of the checked row using jquery.
Thanks,
Nizam
...