I want to implement a functionality of changing user's password. It's basically a form with three fields. the ids of the three input are oldpassword , and newPassword and newPasswordAgain .
When the user lost focus of the oldpassword input or submit the form , I want to check against the database , to see if the oldpassword is correctl...
Hey,
I'm generating a email from a web page and taking a section of the page and putting it into the email. The problem is the section of code has elements with "display: none;" and some email clients don't recognise the display:none property which then displays unwanted elements in the email.
I want to remove these elements using some...
var value = $("#text").val();
and value = 9.61
i need to convert 9.61 to 9:61 how can i use jquery replace function here...
pls help me
Regards Nisanth
...
I'm trying to select the inner value of the first sibling - using jQuery - in an environment where I cannot alter the html markup.
I have the following:
<tr>
<td>3</td>
<td>bob</td>
<td>smith</td>
<td>[email protected]</td>
<td>
<img src="bobsmith.png" onclick="doSomething()" />
</td>
</tr>
I'm trying to...
I need to know if there are any alternatives for an IFrame that I could use to load in an external URL into my webpage. Even if it's JQuery or JavaScript or PHP
...
Hello,
I'm wondering where i should define my jQuerie actions for extern loaded pages by UI tabs.
So for example, i've got an index.html page including 3 tabs. Onclick each tab wil load extern1.html, extern2.html, extern3.html. These 3 external pages need several jQuery actions (onload-actions, onclick-actions and more).
When i put al...
I need to load some ajax content after the fieldset with the class address. Using the code below it will replace the content of the .address with the ajax content.
$('.accordion .head').click(function() {
$(this).next().find('.address').after().load('http://test.dev/search/view/IdDaytrip/' + $(this).attr('id') + '.html');
$(...
i want to call two function automaticaaly when that page loaded.
how to do it with jquery
suppose my funtion is getData();
how do i intitiate this via jQuery
...
Hi
I have a site where I need to check all href-links if they are in a custom dictionary on the site. If they exist then the title attribute in the a-tag should be set to the text that is fetched from the server. I put this together based on other wuestions from this site (example, not tested):
// How to only activate "a href" links?
...
I have a document with one CSS linked in. How can I replace the current CSS with one coming from a document that I just fetched with AJAX request using jQuery?
Here's the code I am trying right now, but with no success so far:
$(function() {
$.get('next_page.html', function(data, textStatus) {
$('link[rel=stylesheet]:first'...
"MyParentPage.htm" uses the load function of jquery to load('myDiv.htm') //
myDiv.htm only contains:
<a href="#" class="bt-cbox">Click me</a>
I have the following in "MyParentPage.htm"
$(document).ready(function() {
$(".bt-cbox").click(function() {
alert("handler hit");
});
});
Why is the my alert not being...
Hello,
I am using the Jquery cycle plugin (http://malsup.com/jquery/cycle/) on a blog listing page. There are multiple slideshows which work fine but I'd like each on the have their own previous and next.
Because these are blog posts it is difficult to sign unique IDs or classes. I currently have:-
$('.article .gallery').cycle({...
in my page i am calling a controller using $.get with some parameters ,
that controller returns me a view page (.aspx),
now, i bind that page to a different div every time as this function can be iterated (or called multiple times) these div s are already created and then result is mapped to each div
function getview(Name, Paramete...
hello guys - moving a lot more of my old php functions to jquery alternatives. I'm a bit stuck on creating a decent preg_match function.
Is there an easy way to make strings url safe & seo'd?
php;
function superClean($str){
$str = strtolower($str);
$str = str_replace(" ", "-", $str);
$str = preg_replace('/[^a-z0-9_]/i', '-', $str);
$...
Hi everyone,
Ironically, for an IT contractor, I find myself building a website for a recruitment consultancy.
They would like a form which allows users to send them a CV but, from a security point of view would like the CV's sent to an e-mail address rather than stored on a web server. Does anyone know if such a thing is possible wit...
Hi,
I just want some simple JQ/JS to check if the current page/window (not a particular element) has a vertical scrollbar.
Googling gives me stuff that seems overly complex for just this basic feature.
How can this be done?
...
if i load('mypage.htm') into <div id="placeMyContentHere">
do i need to put JQuery in "mypage.htm". I'm using color box ( of light box ike) on my child page. If i add jquery.js & colorbox.js into mypage.htm it works. Though i can't helping thinking there is better way.
Here is how i normally call colorbox
$(document).ready(functi...
I'm trying to get a rich text editor in a jquery dialog box. I'm currenty trying tiny mce. When I don't initialize tiny mce the text area displays the text with the HTML characters.
When I do initialize tiny mce nothing is displayed in the text area. Any ideas on how to get a text editor in the dialog box?
<textarea id="reason" rows="...
I'm using a enhanced version of Lightbox called SexyLightbox. It uses jQuery as its framework. When I initialize it, I get this error on regular invervals when the Lightbox isn't running and an infinite amount of times when I attempt to show a picture:
Error: $ is undefined
Source File: http://bagelstreet.se/sexylightbox/sexylightbox.v2...
Hi Folks
How do I limit an event to a single element in a jQuery collection?
In the case below, I've tried using .one() to limit the behaviour (inserting the <li class='close'>Close</li> line of HTML) to a single instance. The behaviour does indeed happen only once, but on EVERY matched element of $( "ul>li>a" ). How do I make it happ...