/    Sign up×
Community /Pin to ProfileBookmark

Please help me in solving this issue

:jawdrop:

[code]Hi every body

in my application
i have a strange <style> property

<style type=”text/css”>.embed + img{position:relative;left: -1px; top: -1px;}</style>

can we add .embed and img properties

can any body explain this strange syntax

[/code]

to post a comment
CSS

4 Comments(s)

Copy linkTweet thisAlerts:
@thesmartmindauthorOct 17.2008 — 

Thanks Fang
--------------


for helping

can u please tell are there any other operators like '+'

any website ex. w3.org


---------------
In my application we are using the JQuery datepicker

and we are calling

the function

jQuery("#fromDate").datepicker({

showOn: "button",

buttonImage: "/TCSFramework/images/icon.gif",

buttonImageOnly: true ,

dateFormat: gPreferences.dateFormat

}).addClass("embed");

like this

i am disabling it with

jQuery("#fromDate").datepicker("disable");

but problem is when i revisit that page it is adding the image again and again

how can i solve it.

Actually i am a newbie to JQery datePicker

thanks once again for reply.
Copy linkTweet thisAlerts:
@FangOct 17.2008 — More selector patterns: http://www.brainjar.com/css/using/

Why add an image and then remove it?
Copy linkTweet thisAlerts:
@thesmartmindauthorOct 17.2008 — Actually

i have to enable and disable according to status of my record.

In status "released" i have to disable the datepicker
×

Success!

Help @thesmartmind spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...