Hi guys,
Not sure of the best way to explain this... I have an input where you can enter two times, but also a checkbox if you wish to omit a certain day, thus rendering the inputs kinda useless, so I'd like to disable them...
Here's what I have at the moment for the HTML (repeated 7 times):
<td><div>From:</div><input type="text" name...
I am developing a web application and I'm forced to use:
SQL_Latin1_General_CP1_CI_AS
as a character encoding. I'm trying to use Jquery-ui to make some beautified tabs, but I cannot manage to get the correct encoding.
I tried this:
$("#tabs").tabs({ ajaxOptions: { contentType: "text/html; charset=SQL_Latin1_General_CP1_CI_AS" } });
...
I have View with table and JQuery tablesorter plugin. It works very well. But, when I try insert table and tablesorter into PartialView and insert this PartialView into View page with Ajax, tablesorter doesn't work.
Into Partial View dont't work jquery. Plugin doesn't get called.
My controller code:
public ActionResult MyTable()
...
Hello guys,
I'm slidetoggling two divs in my page : the first one is in the top of the page and it works OK in both directions.
But the second, located at the end of the page after some scrolling, suffers a flickering effect (in the divs around it) in Firefox when is clicked to be closed again.
Here's a demo : http://paragraphe.org/sl...
Note: This is an alternate planned approach to this question: http://stackoverflow.com/questions/1238138/multiple-column-articles-in-joomla
I've got a client who wants a multi column layout, which should be generated automatically from a non-column HTML block.
What is the feasibility of using JavaScript (and jQuery) to create a multi-...
I have a select form, with a few option values, and I want the page to reload when someone selects another option value, without having a submit button that is. Just reload the page when someone change the value. I would like to skip fetching the data with an AJAX request. So the idea here is to call a HTTP-request when the option value ...
I am developing a heavily AJAX-based web app in JQuery that includes many GUI components. There are some application states that affect all GUI components.
E.g. while an AJAX request is executed, I want my toolbar buttons to "freeze" and not trigger any click events until the request finished. The same applies to my slider control and s...
Hi all,
is there a way with jTemplates to escape {$, so i can use inline javascript in my onBlur like
<a href="http://www.telegraaf.nl" onclick="if ( a ) {$('#something').css ('display','none');alert('some msg');}">telegraaf</a>
which gets this after processTemplate:
<a onclick="if ( a ) " href="http://www.telegraaf.nl">
T...
I am trying to delay the default event or events in a jQuery script. The context is that I want to display a message to users when they perform certain actions (click primarily) for a few seconds before the default action fires.
Pseudo-code:
- User clicks link/button/element
- User gets a popup message stating 'You are leaving site'
- M...
i have taken over an asp.net mvc and i there are a lot of actions that require user confirmation. The current implementation is to have a separate View for each of these confirmation pages.
i thought it would be slicker to use jquery to have a little popup when you click "delete user" for example that shows the user confirmation there ...
Hi,
I'd like to measure how long it takes to run the whole $().ready() scope in each of page.
For profiling specific functions I just set a new Date() variable at the beginning of the relevant part and then check how long it takes to get to the end of the relevant part.
The problem with measuring the whole $().ready scope is that it ...
Just wondering if there was a difference between disabling a submit button and image submit button(input type="image") in Jquery.
Thanks
...
I have a chat application,i want to disable the back and forward option of browser so that user cannot move back or forward.It shold be compatible in all browsers.
...
In order to clean up my code i want to use sub-plugins within my actual jQuery plugin, but actually there is nothing happening. thx in advance
As an easy example, please take a look at the following code:
(function($){
$.fn.funct = function() {
// so far it seems to run the code...
console.log('funct is running...');
...
I am trying to populate a form with a list of questions and radio buttons. When the page is loaded I have a variable that contains the answers they have so far as a string in JSON format:
var json = '{ "answers" : [{"84" : "Y" },{"85" : "Y" },{"86" : "Y" },{"87" : "Y" },{"88" : "Y" },{"89" : "N" },{"90" : "N" },{"91" : "N" },{"92" : "Y...
I am using jquery validation plugin and zend framework. I have my form in a table. I am displaying an image as an error when a textfield is not validated. The error image is displayed very next to textbox in the same td of table. But I want to show error message/image in next td of same tr.
For example this is before submit:
<table><tr...
I have a DOM element with an ID similar to:
something[500]
which was built by my Ruby on Rails application. I need to be able to get this element via jQuery so that I can traverse my way up the DOM to delete the parent of it's parent, which has a variable ID that I don't have access to beforehand.
Does anyone know how I could go abo...
My scenario:
I have a textbox that the user enters text
The textbox has an onblur function that tries to select a value from a dropdownlist (if it exists) based on the textbox input
This works perfectly fine if the textbox value is the same case as the dropdownlist value. But I want it to be case insensitive.
So if the user types "...
Hey people :-)
I'm trying to load some data via. jquery
$get_desc = "SELECT tekst_id,overskrift FROM rr_tekster WHERE beskrivelse_id = '". $_POST['beskrivelse_id'] ."' AND status = 1";
$select = mysql_query($get_desc)or die(mysql_error());
while($row_option = mysql_fetch_array($select)){
$output .= '<option value="'.$row_option['...
I have one question regarding using JQuery UI tab control in the asp.net mvc view.
For example, I have three tabs, tab0, tab 1, and tab2 in one aspx page.
Tab1 lists all the products, and tab2 is a form to create a product. After I fill in all the data in tab2 and submit the form. How can I force the view to load tab2. By default, it's...