Hi guys!
I need to make a dropdown list using CAutoComplete. Everything is set and works fine, here is my code of the action:
<?php
public function actionSuggestCharacter() {
if(Yii::app()->request->isAjaxRequest && isset($_GET['q'])) {
$name = $_GET['q'];
$criteria = new CDbCriteria;
$c...
I have a page that loads another page via ajax and jqModal. In that other page, there is a button that calls a web service using json. This button doesn't work.
What could be the problem?
What other solution do you propose to achieve this?
...
Hello, I am using jQuery to make a website, and I want to be able to have my navigation in a separate div from my content. Also, I want to be able to have a sort of tabbed navigation system such that I can click a link in the navigation and it will load the content into the main content div. Basically, I want to do this so that I can jus...
Hey
is there anything similar to this http://www.dynamicdrive.com/dynamicindex4/cmotiongallery.htm somewhere out there but just with auto repeating images (so that the gallery doesn't stop on the last image)?
thx,
mia
...
i have tested this and the reason i asked the question is that it seems to be doing different things for different tables.
i couldn't find any documentation on if this is configurable or not. I would have thought it would do the bottom but i have a few examples where i see it adding rows at the top or even in the middle sometimes. it ...
I'm trying to get a line of code in my ASP.net application (using Visual Studio) to appear in a Jquery "Fancybox" window. I know how to do this with a regular href link. However, I'm confused on how to set this up using a dynamically generated one.
Here's my line of code that I would like to call Jquery:
<asp:HyperLink ID="hypPrint" ...
hi all
i have select box where on change i need to grab the value and via remote function get some field names from db and then generate those field further down the form depwning on whatoption from the select box is chosen.
The problem is is that the fields are in a f.form_for so are using the formbuilder f that has the select box in...
Hi I am having an issue where i am trying to use JQuery to populate a div tag using the load function on a asp.net MVC website.
I am calling a partialview through a controller and it works fine when i call it directly in the browser but when i try to call it through jquery i get an exception.
My partial view uses the sessionstate to ob...
I am trying to make a link unclickable once it is clicked, then clickable once another link is clicked. Basically just a toggle but I need to make the active link unclickable to prevent the toggle. Here is my code:
$(document).ready(function(){
$("#Espanol").hide();
$("#espLink").addClass("nonSelected");
...
Hey,
I have a jquery treeview as navigation for a website. I am using the options:
unique:true,
collapsed:true
but I need to have the first item expanded. I also would like to be able to toggle states in certain functions.
How can i programmatically toggle a jquery treeview item?
I have read the documentation and searched everywher...
I'm trying to make a menu that collapses, markup is below:
Whenever a .cat_menu_header is clicked, the ul below it should expand and all expanded ul's should collapse. So we start with everything collapsed and only the .cat_menu_header elements visible, with max 1 .submenu being expanded at one time.
<ul id='sidebarNav'>
<li class='c...
Is there any jquery code where I can open a pop-up some text when I hover over gridview column.
I do not want to use the asp.net tooltip.
...
Here's the code:
$(document).ready(function(){
$(".menu ul li a").click( function(){
curpage = $(this).attr('href');
loadpage(curpage);
});
});
function loadpage(){
switch (curpage){
case "#page1":
getpage1();
break;
case "#page2":
getpage2();
break;
}
}
function getpage1() {
$("#conte...
when your signed into google, and you search for anything you get the result back.
you then have these buttons where you can bump the result up/down, or even delete it.
when you delete a result, it disappears and then you get this animated image of a cloud that disappears.
How do they inject that image before it disappears?
(BTW, I wa...
I'm building a site where users (with no knowledge of html/css) will custom-design simple static HTML pages. Years ago, I used a CMS that used absolute positioning with drag and drop for designing static pages, and it was a fantastically easy UI for anyone to grasp.
I'm wondering if there's a javascript solution for this that I could i...
Is it possible to get the property(get; set; ) say Name from code behind(aspx.cs) file into jquery?
...
Hello All,
I was wondering if someone could give me some pointers to help optimize my jQuery Full Calendar Code. The issue i'm running into is when I fetch a lot of events through AJAX (> 25), the browser stalls and becomes unresponsive usually resulting in a message to the user to abort the script. I'm trying to avoid this error, an...
I have this bit of code but it's not doing what I want.
Whenever someone clicks on a mailto link, a popup will display the following message 'This is the message.' So far nothing is happening
$('a[href^=mailto:]').click(function () {
var x=window.confirm('This is the message.');
var val = false;
if (x)
val = true;...
I have downloaded the Flot library and have been having a play around.
I understand how the Flot library works and how to draw simple graphs. The bit I am struggling with is pulling data from a DB and passing that into a Flot Graph so that the graph then becomes dynamic depending on the data retrieved.
I believe you can pass data from...
Hi all,
I'm fairly new to jQuery, and think I might be making something harder than it needs to be. I've got a jQuery variable that is just an unordered list. It was declared this way:
var $list = $('#activityList'); // activityList is ID of <ul>
I'm trying to select all <li> elements within that list using the variable I've created:...