2,530 Topics

Member Avatar for
Member Avatar for cjay175

Hi, Just looking for a quick hand in a question. I am using jquery validator for a form and some dynamic fields I am trying to have some fields required only if 2 conditions have been might, a select box selected and a radio button checked... Here is the code …

Member Avatar for weblike
0
3K
Member Avatar for rayidi

I want to working with login system jQuery ajax and json. I'm facing no problem with success function. I dn't know how to through custom errors like "incorrect login". Here is my code, Please help me. <script> $(document).ready(function(){ $("#login").click(function(){ if($("#defaultEmail").val() == ""){ $("#defaultEmail").addClass("field-err"); $("#defaultEmail").focus(); }else if($("#defaultPassword").val() == ""){ $("#defaultEmail").removeClass("field-err"); $("#defaultPassword").addClass("field-err"); …

Member Avatar for rayidi
0
3K
Member Avatar for sam1

I am using jquery tabs in master page to open the aspx files once user clicks on a tab heading. But if I use my page as link it will repeat the "header" part(similar to this:http://stackoverflow.com/questions/9459991/jquery-tabs-and-asp-net-master-pages-issue). Already tried the solution but cannot get my head around it. Can someone please …

Member Avatar for JorgeM
0
585
Member Avatar for Rizi004

Hello Guys how are you all? I have a text box for searching, when i write L all the data that starts from the L should display in a list aplabetically. My data is stored in multidimension array. Now tell me how i can perfrom the above task. i use …

Member Avatar for urtrivedi
0
118
Member Avatar for vizz

How to upload file and form data using jQuery? <input type="text" name="Name" id="name" /> <input type="text" name="Email" id="email" /> <input type="file" name="attachment" id="attachment" accept="application/msword/pdf" /> $target = "uploads/"; $target = $target . basename( $_FILES['attachment']['name']) ; move_uploaded_file($_FILES['attachment']['tmp_name'], $target);

Member Avatar for vizz
0
159
Member Avatar for websponge

I have a simple form that uses a bit of jquery, <form action="" method="post" enctype="multipart/form-data"> <label for="file">Upload File:</label> <input type="file" name="userfile" id="userfile" /> <input type="button" value="Submit" onclick="uploadfile()"/> </form> the uploadfile() in my .js file looks like this: function uploadfile(){ var userfile = document.getElementById('userfile').value; var username = document.getElementById('username').value; $.post("php/upload.php", {userfile: userfile,username: …

Member Avatar for websponge
0
557
Member Avatar for Airshow

Tablesorter (currently v2.0.5) includes an "update" method. This method keeps a Tablesorter object up to date with dynamic changes made to its table(s). Like other Tablesorter methods "update" is implemented in the form of a custom event. A typical method call would be $table.trigger("update"); , where $table is a jQuery …

Member Avatar for punknroll
0
805
Member Avatar for jrosh

I am using flot graphs for jquery in mvc3 razor web app. I'm loading partial view containing a plot graph to a div. I have a pop up window coming from another event. After popup window closes following error gives. *This only happens in IE* Following is the error: "Microsoft …

Member Avatar for pritaeas
0
198
Member Avatar for LastMitch

Hi I recently create a `Simple JQuery` code with captions with some help from other Daniweb members: http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/434987/havent-issue-with-seeing-alt-with-image-in-jquery I got a better understanding how it works. So I decide to add a `image count` with this code. The past few hours I been trying to modify this code, kinda play …

Member Avatar for LastMitch
0
479
Member Avatar for souravbansal89
Member Avatar for souravbansal89
-1
107
Member Avatar for hoangdungksp

Everybody! First, i have a file iframe_page.php using file_get_contents to display content from another page. <?php $URL = "http://www.funnywow.com/index.php"; $domain = file_get_contents($URL); $domain = preg_replace('/<head>/i', "<head>\n<base href='$URL'>\n", $domain); echo $domain; ?> Next, i have a file index.php containing: <!DOCTYPE html> <html xmlns:fb="http://ogp.me/ns/fb#" lang="en"> <head> <script> function HideDiv() { var x=document.getElementById("myframe"); …

0
103
Member Avatar for dyingatmidnight

Hi there, I'm dynamically pulling my sidebar image from a database, the image is resized to fit based on which dimension is smaller. Then I'm using a jquery script to reposition the image so that any overflow on the width overflows both sides rather than just on the right using …

Member Avatar for LastMitch
0
169
Member Avatar for LastMitch

Hi I recently created a `JQuery Gallery Script` in the `Javascript` section with some help from **pritaeas** & **JJenZz**: Here is the link to the script: http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/434987/havent-issue-with-seeing-alt-with-image-in-jquery The `JQuery` code works you can check the link and test it out. Since the script is in `JQuery`. I want to add …

Member Avatar for LastMitch
0
635
Member Avatar for jamojo

Hello everyone, I am trying to paginate the table below using this plug in. http://neoalchemy.org/tablePagination.html However, I the table did not show properly and I think it still counting the hidden fields. Can you please advise how to solve this or provide an alternative way to do this. Thanks in …

Member Avatar for jamojo
0
133
Member Avatar for LastMitch

Hi I want to know the if `GD2` run the same as `JQuery`? For example for `JQuery` you need this: `<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>` for the code to run. But for `GD2` you need a package but I haven't download it yet. I just want to know the **Pro** and **Cons** between …

Member Avatar for LastMitch
0
115
Member Avatar for plmexico79

im trying to understand to create a form that process in php but shows the erros in ajax. heres a sample of something i want [Click Here](http://php4every1.com/demos/ajaxSubmit/), i already understand some jquery but not everything , like when i create a form in html do i had to create a …

Member Avatar for pritaeas
0
342
Member Avatar for samith.dilhara

here is the code <div id="test"> <input type="text" name="textfield" /> <div> `$('div#test').html()` render like this along with endtag for `/>` <input type="text" name="textfield" ></input> how can i render it like below <input type="text" name="textfield" /> thanks in advance..!!

Member Avatar for Airshow
0
189
Member Avatar for LastMitch

Hi, This is the first script that I trying to read and learn how it function. I not very familiar with `JQuery`. I'm more in `PHP`. But I notice other members know other languages beside `PHP`. So I'm trying to do what other Developer are doing which is knowing another …

Member Avatar for LastMitch
0
450
Member Avatar for dyboss

i am trying to get my to look like http://www.local10.com/ "Top Stories" section. I don't even know there to begin. I need when rollover hyperlink thet the three div's on the left side of the link change with each link. So on my right side of my page i have …

Member Avatar for JorgeM
0
319
Member Avatar for kumar gowrav
Member Avatar for JorgeM
0
55
Member Avatar for VenusCrystal

Hi, Can anyone tell me alternatives to focus() and blur() events in jquery as they dont work in chrome? On focus I am adding a div and on blur that div is being removed. Thanks, VC

Member Avatar for stbuchok
0
134
Member Avatar for rotten69

Hi everyone, Has anyone had this issue that I'm having ATM? It is about getting the website to function properly using jQuery for mobile for UI. OK. When I added jQuery for mobile in the files, the behaviour of my websites is changing. It basically makes the website not function …

Member Avatar for rotten69
0
128
Member Avatar for vijayram

Hai every body I want to uploaded images rotate 360 degree.everyimage have one rotate icon. any body plz help me.

Member Avatar for pritaeas
0
96
Member Avatar for junehrndez

Hello, My slider doesn't work on IE7. I ran out of solution. Im hoping you could tell me the problem. Here is hte website link: [Click Here to see the slider](http://67.23.238.162/~agranexc/timberlane/services.php) Note: Im using coin slider jquery plugin [Click Here to go to the plugin](http://workshop.rs/projects/coin-slider/)

Member Avatar for junehrndez
0
226
Member Avatar for fcvolunteer

I know there are jquery snippets all over the internet showing how to show/hide <div> text based on whether a checkbox has been checked. Jquery is not a strong point of mine so I've really researched a lot to figure out how to do this. So far I'm able to …

Member Avatar for ome2012
0
1K
Member Avatar for ajay.motah

hi, im having an issue when using the .load() function of jquery. im using my index .php file to dynamically load contents in a div using the load function. but when i refresh the browser i taken to index.php. can u please suggest me? thank you

Member Avatar for ajay.motah
0
91
Member Avatar for akuvidz

why does my jquery didnt shown? this is my header code, i'm using CI to code it. <html> <meta charset="utf-8"> <head> <link rel="stylesheet" type="text/css" href="<?=base_url()?>assets/css/style1.css"> <link rel="stylesheet" type="text/css" href="<?=base_url()?>assets/css/jquery-ui-1.8.23.custom.css"> <script src="<?=base_url()?>assets/js/jquery-1.8.1.js"></script> <script src="<?=base_url()?>assets/js/jquery.js"></script> <script src="<?=base_url()?>assets/js/jquery-1.8.0.min.js"></script> <script type="text/javascript"> $(function() { $("#tabs").tabs(); }); </script> </head> <title><?php echo $title?></title> <body class="colAbs"> <div id="header"></div> …

Member Avatar for brandonrunyon
0
131
Member Avatar for ajay.motah
Member Avatar for ajay.motah
0
157
Member Avatar for ajay.motah

hi, im using jquery for dynamic diaply of login, but now i wish to start the $session once the login is sucsseful. but my code is found in a function in a php class. So can i call that function? Thank you!

Member Avatar for theHop
0
71
Member Avatar for Dani

Even though it's incredibly bad practice, most advertising servers still use document.write. It's terrible because placing `<script type="text/javascript" src="http://www.ad-server.com/foo.js" />` where you want the ads to appear is page blocking. I'm trying to move the script tag to the very bottom of the page (so at least everything above it …

Member Avatar for Troy3
0
2K

The End.